Simulation support:

This function is simulated by a handling routine in the graphics engine.

Description

GreRestorePath is called during RestoreDC and CloseDC to allow the path handling routines to restore their local data structures. When a DC is closed, GreRestorePath is called with a count of 0 to free its local data.

This function can be hooked by the presentation driver.

#define INCL_GRE_PATHS
#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=NGreRestorePath. */
BOOL     fSuccess;   /*  Return codes. */

fSuccess = GreRestorePath(hdc, cSave, pInstance,
             lFunction);


[Back: GreRestorePath]
[Next: GreRestorePath Parameter - hdc]