Skip to main content

MfpgaCommandFree

BoardSupported
Host SystemNo
V4L2No
Clarity UHDNo
Concord PoENo
GenTLNo
GevIQNo
GigE VisionNo
IndioNo
Iris GTXNo
Radient eV-CLNo
Rapixo CLYes
Rapixo CoFYes
Rapixo CXPYes
USB3 VisionNo

Free an FPGA command context.

Syntax

AIL_INT MfpgaCommandFree(
AIL_FPGA_CONTEXT FpgaCommandContext, //in
AIL_INT64 ControlFlag //in
)

Description

This function deallocates a previously allocated FPGA command context. The FPGA command context should be freed after an MfpgaCommandQueue is issued. The processing operation that is associated with the command context, will complete its operation even if MfpgaCommandFree is executed before processing is finished.

Note: Note that the FPGA module is not supported with Distributed Aurora Imaging Library.

Note: Note that the FPGA module is only supported on boards that support FPGA processing (Pro boards).

Parameters

FpgaCommandContext (in, AIL_FPGA_CONTEXT)

Specifies the handle of the FPGA command context to deallocate. The command context must have been previously allocated on the system using MfpgaCommandAlloc.

ControlFlag (in, AIL_INT64)

Reserved for future expansion. Set this parameter to M_DEFAULT.

Return Value

Type: AIL_INT

The returned value is M_VALID if deallocation is successful. If deallocation fails, M_NULL is returned.

Copyright © 2026 Zebra Technologies.