Simulation support:
This function is mandatory for display drivers. For other drivers, it is simulated by a handling routine in the graphics engine.
Description:
GreUpdateCursor updates the drawn alphanumeric cursor to match the cursor state information contained in the presentation space.
#define INCL_AVIOP
#include <os2.h>
HDC hdc; /* The device context handle. */
VioPresentationSpace *pVioPS; /* A pointer to the Vio presentation space. */
PVOID pInstance; /* A pointer to instance data. */
ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreUpdateCursor. */
LONG rc; /* Return codes. */
rc = GreUpdateCursor(hdc, pVioPS, pInstance,
lFunction);