Simulation support:

This function is simulated by a handling routine in the graphics engine.

Description

GreGetPageViewport loads the buffer indicated by prclViewport with the page viewport coordinates.

This function can be hooked by the presentation driver.

#define INCL_GRE_XFORMS
#include <os2.h>

HDC       hdc;           /*  Device context handle. */
PRECTL    prclViewport;  /*  Pointer to page viewport boundaries. */
PVOID     pInstance;     /*  Pointer to instance data. */
ULONG     lFunction;     /*  High-order WORD=flags; low-order WORD=NGreGetPageViewport. */
BOOL      fSuccess;      /*  Return codes. */

fSuccess = GreGetPageViewport(hdc, prclViewport,
             pInstance, lFunction);


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