Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a handle to the current cursor.
To get information on the global cursor, even if it is not owned by the current thread, use GetCursorInfo.
Syntax
HCURSOR GetCursor();
Return value
Type: HCURSOR
The return value is the handle to the current cursor. If there is no cursor, the return value is NULL.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | winuser.h (include Windows.h) |
| Library | User32.lib |
| DLL | User32.dll |
See also
Conceptual
Reference