| MIL 10 Reference
| Customize Help
| Save Settings

MmetFree



See also
Availability
Not available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

Available on Non-Matrox computer
Available on Matrox 4Sight-X
Available on Matrox 4Sight GP
Available on Matrox Supersight
function map Function map
Examples
Synopsis
Free a metrology context, a derived metrology region object, or a metrology result buffer.
Syntax
void MmetFree(
MIL_ID MetId //in
)
Description

This function deletes the specified metrology context, derived metrology region object, or metrology result buffer and releases any memory associated with it.

All metrology contexts, derived metrology region objects, and metrology result buffers allocated on a particular system must be freed before the system can be freed.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameter
MetId

Specifies the identifier of the metrology context, derived metrology region object, or metrology result buffer to free. These must have been successfully allocated (with MmetAlloc() or MmetAllocResult()) prior to calling this function.

Compilation information
Header Include mil.h.
Library Use mil.lib; milmetrol.lib.
DLL Requires mil.dll; milmetrol.dll.