UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | req.apiset | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:winuser.SetPhysicalCursorPos |
SetPhysicalCursorPos function (winuser.h) |
Sets the position of the cursor in physical coordinates. |
|
menurc\setphysicalcursorpos.htm |
menurc |
VS|winui|~\winui\windowsuserinterface\resources\cursors\cursorreference\cursorfunctions\setphysicalcursorpos.htm |
12/05/2018 |
SetPhysicalCursorPos, SetPhysicalCursorPos function [Menus and Other Resources], _win32_SetPhysicalCursorPos, _win32_setphysicalcursorpos_cpp, menurc.setphysicalcursorpos, winui._win32_setphysicalcursorpos, winuser/SetPhysicalCursorPos |
winuser.h |
Windows.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
User32.lib |
User32.dll |
Windows |
19H1 |
|
|
|
|
|
|
ext-ms-win-ntuser-gui-l1-1-1 (introduced in Windows 8.1) |
Sets the position of the cursor in physical coordinates.
Type: int
The new x-coordinate of the cursor, in physical coordinates.
Type: int
The new y-coordinate of the cursor, in physical coordinates.
Type: BOOL
TRUE if successful; otherwise FALSE.
For a description of the difference between logical coordinates and physical coordinates, see PhysicalToLogicalPoint.
GetLastError can be called to get more information about any error that is generated.
Conceptual
Reference