MappFreeDefault()函数

Synopsis

Free MIL application defaults.

Format

void MappFreeDefault(ApplicationId, SystemId, DisplayId, DigitizerId, ImageBufId)

MIL_ID ApplicationId; Application identifier
MIL_ID SystemId; System identifier
MIL_ID DisplayId; Display identifier
MIL_ID DigId; Digitizer identifier
MIL_ID ImageBufId; Image buffer identifier

Description

This macro frees the MIL application defaults that were allocated with the MappAllocDefault macro (located in milsetup.h). Note, this command does not affect what is being displayed on the system’s display; if you want to clear the display, you should do so, using MdispDeselect, before calling MappFreeDefault.

The ApplicationId parameter specifies the identifier of the application to deallocate.

The SystemId parameter specifies the identifier of the system to deallocate.

The DisplayId parameter specifies the identifier of the display to deallocate. If set to M_NULL, no display is deallocated.

The DigId parameter specifies the identifier of the digitizer to deallocate. If set to M_NULL, no digitizer is deallocated.

The ImageBufId parameter specifies the identifier of the image buffer to deallocate. If set to M_NULL, no buffer is deallocated.

See also

MappAllocDefault, MappFree, MsysFree, MdispFree, MdigFree, MbufFree