Description

GreSaveDC saves the device context's state on a stack and returns an identifier to allow for its subsequent restoration.

This function is supported by the graphics engine.

#define INCL_GRE_DCS
#include <os2.h>

HDC      hdc;        /*  Device context handle. */
PVOID    pInstance;  /*  Pointer to instance data. */
ULONG    lFunction;  /*  High-order WORD=flags; low-order WORD=NGreSaveDC. */
LONG     rc;         /*  Return codes. */

rc = GreSaveDC(hdc, pInstance, lFunction);


[Back: GreSaveDC]
[Next: GreSaveDC Parameter - hdc]