Simulation support:

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

Description

GreSelectClipPath resets or modifies the currently selected clip path.

This function can be hooked by the presentation driver.

#define INCL_GRE_PATHS
#include <os2.h>

HDC      hdc;        /*  Device context handle. */
LONG     idPath;     /*  Path ID. */
ULONG    flOptions;  /*  Option flags. */
PVOID    pInstance;  /*  Pointer to instance data. */
ULONG    lFunction;
BOOL     fSuccess;   /*  Return codes. */

fSuccess = GreSelectClipPath(hdc, idPath,
             flOptions, pInstance, lFunction);


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