Click here to show toolbars of the Web Online Help System: show toolbars
 

| Customize Help
| Save Settings

MgraFree



Function Map
Synopsis
Free a graphics context or a graphics list.
Syntax
void MgraFree(
MIL_ID ObjectId //in
)
Description

This function deallocates a graphics context or a graphics list previously allocated with MgraAlloc() or MgraAllocList().

If you free a graphics list that is annotating the display non-destructively (specified using MdispControl() with M_ASSOCIATED_GRAPHIC_LIST_ID), the graphics list is automatically disassociated from the display.

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 if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameter
ObjectId

Specifies the identifier of the graphics context or graphics list to deallocate. If M_DEFAULT is specified, an error will occur.

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