Simulation support:

This function is mandatory for display drivers. For other drivers, it is simulated by a handling routine in the graphics engine.

Description:

GreSetColorCursor sets the bit maps that define a color cursor or pointer.

#define INCL_WINPOINTERS
#include <os2.h>

HDC             hdc;           /*  The device context handle. */
PPOINTERINFO    pPointerInfo;  /*  A pointer to a pointer information structure. */
PVOID           pInstance;     /*  A pointer to instance data. */
ULONG           lFunction;     /*  High-order WORD=flags; low-order WORD=NGreDeviceSetCursor. */
BOOL            fSuccess;      /*  Return codes. */

fSuccess = GreSetColorCursor(hdc, pPointerInfo,
             pInstance, lFunction);


[Back: GreSetColorCursor]
[Next: GreSetColorCursor Parameter - hdc]