Simulation support:

None. This function is mandatory for all drivers.

Description:

GreResetBounds resets the bounds to their initial values, hex 07FFFFF for the minimum coordinates and hex F800000 for the maximum coordinates.

This function must be supported by the presentation driver. GreResetBounds is called by the function GpiResetBoundaryData, and is used to reset the boundary data for a presentation space or device context pair.

#define INCL_GRE_DEVMISC3
#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=NGreResetBounds. */
BOOL     rc;         /*  Return code. */

rc = GreResetBounds(hdc, flOptions, pInstance,
       lFunction);


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