SetPhysicalCursorPos function
Sets the position of the cursor in physical coordinates.
Syntax
BOOL WINAPI SetPhysicalCursorPos( _In_ int X, _In_ int Y );
Parameters
- X [in]
-
Type: int
The new x-coordinate of the cursor, in physical coordinates.
- Y [in]
-
Type: int
The new y-coordinate of the cursor, in physical coordinates.
Return value
Type: BOOL
TRUE if successful; otherwise FALSE.
Remarks
For a description of the difference between logicial coordinates and physical coordinates, see PhysicalToLogicalPoint.
GetLastError can be called to get more information about any error that is generated.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
- Reference
- GetPhysicalCursorPos
- ClipCursor
- GetCursorPos
- SetCursorPos
- SetCaretPos
- SetCursor
- ShowCursor
- Conceptual
- Cursors