Simulation support:
This function is mandatory for display drivers that want to be DCAF-enabled.
Description GreCloseScreenChangeArea frees the data area internal to the display driver, identified by the SCA handle, that was accumulating screen changes.
#define INCL_GRE_SCREEN
#include <os2.h>
#include <pmddi.h>
HDC hdc; /* Any valid device context. */
HSCA hsca; /* Handle of the SCA to be closed. */
PDC pdcArg; /* Pointer to instance data. */
ULONG FunN; /* High-order word=Flags; Low-order word=NGreCloseScreenChangeArea. */
BOOL rc;
rc = GreCloseScreenChangeArea(hdc, hsca, pdcArg,
FunN);