Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GreSelectPathRegion merges a region representing a path into the DC region. A "path region" behaves exactly like any other region. It has no special properties relating to paths.
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. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreSelectPathRegion. */ BOOL fSuccess; /* Return codes. */ fSuccess = GreSelectPathRegion(hdc, hrgn, pInstance, lFunction);