| Customize Help
| Save Settings

MdispFree



Function Map
Synopsis
Free a display.
Syntax
void MdispFree(
MIL_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.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see which MIL system’s documentation you should use in its place and any possible differences.
Parameters
This function is not supported on the selected boards.
This function reference has not been updated for the selected MIL system. To show the content of this page, choose a second MIL system; refer to the MIL system's release note to see which MIL system’s documentation to choose and any possible differences.
Parameter
DisplayId

Specifies the identifier of the display.

Compilation information
Header Include mil.h.
Library Use mil.lib.
DLL Requires mil.dll; mildisplay.dll.