Description
GreRestoreDC restores the contents of a previously saved device context.
This function is supported by the graphics engine.
#define INCL_GRE_DCS
#include <os2.h>
HDC hdc; /* Device context handle. */
LONG idDC; /* DC state identifier. */
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreRestoreDC. */
BOOL fSuccess; /* Return codes. */
fSuccess = GreRestoreDC(hdc, idDC, pInstance,
lFunction);