MsysFree
Free a system.
Syntax
void MsysFree(
AIL_ID SysId //in
)
Description
This function deallocates a system previously allocated with MsysAlloc.
Prior to freeing a system, ensure that all buffers, displays, and digitizers allocated on the system are freed, unless M_UNIQUE_ID was specified during allocation.
Parameters
SysId (in, AIL_ID)
Specifies the identifier of the system to free.
Remarks
If you are creating a DLL that includes a call to
MsysFree, ensure that the call is not made from theDllMain()function, becauseMsysFreemight unload any DLL loaded withMsysAllocand you cannot unload a DLL fromDllMain(). If necessary, callMsysFreefrom a clean-up function in your DLL instead.