Simulation support:

This function is mandatory for display drivers. For other drivers, it is simulated by a handling routine in the graphics engine.

Description:

GreResurrection reverses the condition set by GreDeath and restores the screen to the Presentation Manager interface.

#define INCL_GRE_DEVMISC3
#include <os2.h>

HDC       hdc;        /*  The device context handle. */
LONG      cbVmem;
PULONG    pReserved;  /*  A reserved pointer. Must be zero. */
PVOID     pInstance;  /*  A pointer to instance data. */
ULONG     lFunction;  /*  High-order WORD=flags; low-order WORD=NGreResurrection. */
LONG      lResult;    /*  Return codes. */

lResult = GreResurrection(hdc, cbVmem, pReserved,
            pInstance, lFunction);


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