Simulation support:
This function is mandatory for display drivers. For other drivers, it is simulated by a handling routine in the graphics engine.
Description:
GreSaveScreenBits saves a rectangle of screen bits.
#define INCL_GRE_BITMAPS #include <os2.h> HDC hdc; /* The device context handle. */ PRECTL prclRect; /* A pointer to a screen rectangle defined in screen coordinates. */ PVOID pInstance; /* A pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreRestoreScreenBits. */ ULONG rc; /* Return codes. */ rc = GreSaveScreenBits(hdc, prclRect, pInstance, lFunction);