Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description:
GreSetGraphicsField sets the boundaries of the graphics field (clip) limits in page-coordinate space. The boundaries are inclusive so that points on them are not clipped. By default, no clipping is performed.
This function can be hooked by the presentation driver.
#define INCL_GRE_XFORMS #include <os2.h> HDC hdc; /* Device context handle. */ PRECTL prclGraphicsField; /* Pointer to graphics field. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreSetGraphicsField. */ BOOL fSuccess; /* Return codes. */ fSuccess = GreSetGraphicsField(hdc, prclGraphicsField, pInstance, lFunction);