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. For auxiliary and network displays, this leaves the display blank.
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll; mildisplay.dll. |