Skip to main content

MregFree

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 registration context or a registration result buffer.

Syntax

void MregFree(
AIL_ID ContextOrResultId //in
)

Description

This function deletes the specified registration context or registration result buffer, and releases any memory associated with it.

All registration contexts and registration 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

ContextOrResultId (in, AIL_ID)

Specifies the identifier of the registration context or registration result buffer to free. These must have been successfully allocated (with MregAlloc or MregAllocResult) prior to calling this function.

Copyright © 2026 Zebra Technologies.