Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GreRestoreXform is called during RestoreDC and CloseDC to allow simulations to restore their local data structures. When a DC is closed, GreRestoreXform is called with a count of 0 to free its local data.
#define INCL_GRE_XFORMS
#include <os2.h>
HDC hdc; /* Device context handle. */
LONG cSave; /* DC save level. */
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreRestoreXform. */
BOOL fSuccess; /* Return codes. */
fSuccess = GreRestoreXform(hdc, cSave, pInstance,
lFunction);