This function obtains information about any current cursor.

#define INCL_WINCURSORS /* Or use INCL_WIN, INCL_PM, */
#include <os2.h>

HWND           hwndDeskTop;      /*  Desktop-window handle. */
PCURSORINFO    pcsriCursorInfo;  /*  Cursor information. */
BOOL           rc;               /*  Current-cursor indicator. */

rc = WinQueryCursorInfo(hwndDeskTop, pcsriCursorInfo);


[Back] [Next]