Skip to main content

MocrFree

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 an OCR font or result buffer.

Syntax

void MocrFree(
AIL_ID FontContextOrResultOcrId //in
)

Description

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

All OCR font or 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

FontContextOrResultOcrId (in, AIL_ID)

Specifies the identifier of the OCR font context, or result buffer to free. The OCR font context, or result buffer, must have been successfully allocated with MocrAllocFont or MocrAllocResult, respectively, prior to calling this function.

Copyright © 2026 Zebra Technologies.