Description
GreGetDefaultViewingLimits loads the array indicated by prclViewingLimits with the default boundaries of the viewing window in graphic model space coordinates.
This function is supported by the graphics engine.
#define INCL_GRE_DEVSUPPORT #include <os2.h> HDC hdc; /* Device context handle. */ PRECTL prclViewingLimits; /* Pointer to limits of viewing area. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreGetDefaultViewingLimits. */ BOOL fSuccess; /* Return codes. */ fSuccess = GreGetDefaultViewingLimits(hdc, prclViewingLimits, pInstance, lFunction);