Skip to main content

MdispFree

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 display.

Syntax

void MdispFree(
AIL_ID DisplayId //in
)

Description

This function deallocates a display previously allocated with MdispAlloc.

If an image buffer was selected to the display using MdispSelect, MdispFree also closes the associated window for windowed displays; if an image buffer was selected to the display using MdispSelectWindow, the associated window is left open but it is left blank. For exclusive displays, this causes the display to disappear, allowing the desktop to reappear on the screen.

All displays allocated on a particular system must be freed before the system can be freed, unless M_UNIQUE_ID was specified during allocation.

Parameters

DisplayId (in, AIL_ID)

Specifies the identifier of the display.

Copyright © 2026 Zebra Technologies.