Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GreSetWindowViewportXform sets the window or viewport transform matrix elements as specified.
This function can be hooked by the presentation driver.
#define INCL_GRE_XFORMS
#include <os2.h>
HDC hdc; /* Device context handle. */
PXFORM paXformData; /* Pointer to an array. */
LONG flOptions; /* Specifies how the supplied array should be used to set the matrix. */
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreSetWindowViewportXform. */
BOOL fSuccess; /* Return codes. */
fSuccess = GreSetWindowViewportXform(hdc,
paXformData, flOptions, pInstance,
lFunction);