Platform Package reference: Function EwUnlockObject()

Description of the function EwUnlockObject() available in all Platform Packages for C compatible target systems. This function is intended to be used when integrating the Embedded Wizard created GUI application with the underlying graphics subsystem, graphics hardware or other external GUI applications coexisting on the same system.

Declaration

void EwUnlockObject( XObject aObject )

Parameters

aObject

Pointer to the object to unlock.

Discussion

The function EwUnlockObject() removes the object aObject from the global root set. Objects, which are stored in the root set will still keep alive together with other objects depending on them. Objects, which are not stored in the root set and not referenced by any other object stored in the root set are garbage and will be released during the next EwReclaimMemory() invocation. To add an object to the root set the function EwLockObject() is available.