Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GreIntersectClipRectangle sets the new clipping region to the intersection of the current clip region and the specified rectangle.
This function is supported by the graphics engine and can be hooked by the presentation driver.
#define INCL_GRE_CLIP #include <os2.h> HDC hdc; /* Device context handle. */ PRECTL prclRect; /* Pointer to rectangle (RECTL structure) in world or device coordinates: */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreIntersectClipRectangle. */ LONG rc; /* Return codes. */ rc = GreIntersectClipRectangle(hdc, prclRect, pInstance, lFunction);