Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GreGetViewingLimits loads the array indicated by prclViewingLimits with the boundaries of the viewing window in graphic model-space coordinates. All boundaries are inclusive.
This function can be hooked by the presentation driver.
#define INCL_GRE_XFORMS
#include <os2.h>
HDC hdc; /* Device context handle. */
PRECTL prclViewingLimits; /* Pointer to limits of viewing area (RECTL structure): */
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreGetViewingLimits. */
BOOL fSuccess; /* Return codes. */
fSuccess = GreGetViewingLimits(hdc, prclViewingLimits,
pInstance, lFunction);