Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GreConvert converts the specified coordinates from one coordinate space to another by using the current values of the transforms.
This function can be hooked by the presentation driver.
#define INCL_GRE_XFORMS #include <os2.h> HDC hdc; /* Device context handle. */ LONG lSrc; /* Source-coordinate space. */ LONG lDst; /* Target-coordinate space. Defined by the same values as lSrc. */ PPOINTL paptlPoint; LONG cPoints; /* Count of coordinate pairs in the array. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreConvert. */ BOOL fSuccess; /* This function returns BOOLEAN (fSuccess). */ fSuccess = GreConvert(hdc, lSrc, lDst, paptlPoint, cPoints, pInstance, lFunction);