Skip to main content

MmetFree

BoardSupported
Host SystemYes
V4L2Yes
Clarity UHDYes
Concord PoENo
GenTLYes
GevIQYes
GigE VisionYes
IndioNo
Iris GTXYes
Radient eV-CLYes
Rapixo CLYes
Rapixo CoFYes
Rapixo CXPYes
USB3 VisionYes

Free a metrology context, a derived metrology region object, or a metrology result buffer.

Syntax​

void MmetFree(
AIL_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, unless M_UNIQUE_ID was specified during allocation.

Parameters​

MetId (in, AIL_ID)​

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.

Copyright © 2026 Zebra Technologies.