Simulation support:
This function is mandatory for display drivers. For other drivers, it is simulated by a handling routine in the graphics engine.
Description:
GreDeath informs the presentation driver that the entire screen is required by another screen group (an application that is not running under the Presentation Manager interface).
#define INCL_GRE_DEVMISC3 #include <os2.h> HDC hdc; /* The device context handle. */ PVOID pInstance; /* A pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreDeath. */ BOOL fSuccess; /* Return codes. */ fSuccess = GreDeath(hdc, pInstance, lFunction);