Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GreSetPageUnits sets the page units controlling the device transform.
This function can be hooked by the presentation driver.
#define INCL_GRE_XFORMS #include <os2.h> HDC hdc; /* Device context handle. */ ULONG ulUnits; /* Page units. */ LONG lWidth; /* Page width (w). */ LONG lHeight; /* Page height (h). See previous parameter, IWidth. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreSetPageUnits. */ BOOL rc; /* Return codes. */ rc = GreSetPageUnits(hdc, ulUnits, lWidth, lHeight, pInstance, lFunction);