Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GrePaintRegion paints the specified region by using the current area foreground and background colors.
This function can be hooked by the presentation driver.
#define INCL_GRE_REGIONS
#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=NGrePaintRegion. */
LONG rc; /* Return codes. */
rc = GrePaintRegion(hdc, hrgn, pInstance,
lFunction);