Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
CURSORINFO structure (winuser.h)
Contains global cursor information.
Syntax
typedef struct tagCURSORINFO {
DWORD cbSize;
DWORD flags;
HCURSOR hCursor;
POINT ptScreenPos;
} CURSORINFO, *PCURSORINFO, *LPCURSORINFO;
Members
cbSize
Type: DWORD
The size of the structure, in bytes. The caller must set this to sizeof(CURSORINFO).
flags
Type: DWORD
The cursor state. This parameter can be one of the following values.
| Value | Meaning |
|---|---|
|
The cursor is hidden. |
|
The cursor is showing. |
|
Windows 8: The cursor is suppressed. This flag indicates that the system is not drawing the cursor because the user is providing input through touch or pen instead of the mouse. |
hCursor
Type: HCURSOR
A handle to the cursor.
ptScreenPos
Type: POINT
A structure that receives the screen coordinates of the cursor.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | winuser.h (include Windows.h) |
See also
Conceptual
Reference
Feedback
Was this page helpful?
