Simulation support:

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

Description

GreSelectClipRegion specifies the region to be used for clipping.

This function can be hooked by the presentation driver.

#define INCL_GRE_CLIP
#include <os2.h>

HDC      hdc;        /*  Device context handle. */
HRGN     hrgn;       /*  Region handle. */
PHRGN    phrgnOld;
PVOID    pInstance;  /*  Pointer to instance data. */
ULONG    lFunction;
LONG     rc;         /*  Return codes. */

rc = GreSelectClipRegion(hdc, hrgn, phrgnOld,
       pInstance, lFunction);


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