Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GreGetGraphicsField loads the buffer indicated by prclGraphicsField with the integer values that identify the boundaries of the graphics field.
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=NGreGetGraphicsField. */ BOOL fSuccess; /* Return codes. */ fSuccess = GreGetGraphicsField(hdc, prclGraphicsField, pInstance, lFunction);