GetPointerDeviceCursors function (winuser.h)
Gets the cursor IDs that are mapped to the cursors associated with a pointer device.
Syntax
BOOL GetPointerDeviceCursors(
[in] HANDLE device,
[in, out] UINT32 *cursorCount,
[out, optional] POINTER_DEVICE_CURSOR_INFO *deviceCursors
);
Parameters
[in] device
The device handle.
[in, out] cursorCount
The number of cursors associated with the pointer device.
[out, optional] deviceCursors
An array of POINTER_DEVICE_CURSOR_INFO structures that contain info about the cursors. If NULL, cursorCount returns the number of cursors associated with the pointer device.
Return value
TRUE if the function succeeds; otherwise, FALSE. If the function fails, call the GetLastError function for more information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | winuser.h |
Library | User32.lib |
DLL | User32.dll |