Description
GreResetDC restores a device context to its created state.
This function is supported by the graphics engine.
#define INCL_GRE_DCS
#include <os2.h>
HDC hdc; /* Device context handle. */
ULONG flOptions; /* Option flags. */
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreResetDC. */
BOOL fSuccess; /* Return codes. */
fSuccess = GreResetDC(hdc, flOptions, pInstance,
lFunction);