The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
GetCursor function
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 WINAPI GetCursor(void);
Parameters
This function has no parameters.
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
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
- Reference
- GetCursorInfo
- SetCursor
- Conceptual
- Cursors
Show: