The GetCursorInfo function retrieves information about the global cursor.
Syntax
BOOL GetCursorInfo( PCURSORINFO pci
);
Parameters
pci
[out] Pointer to a CURSORINFO structure that receives the information. Note that you must set CURSORINFO.cbSize to sizeof(CURSORINFO) before calling this function.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.