Windows apps
Collapse the table of content
Expand the table of content
Information
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.

GetPhysicalCursorPos function

Retrieves the position of the cursor in physical coordinates.

Syntax


BOOL WINAPI GetPhysicalCursorPos(
  _Out_ LPPOINT lpPoint
);

Parameters

lpPoint [out]

Type: LPPOINT

The position of the cursor, in physical coordinates.

Return value

Type: BOOL

TRUE if successful; otherwise FALSE.

GetLastError can be called to get more information about any error that is generated.

Remarks

For a description of the difference between logicial coordinates and physical coordinates, see PhysicalToLogicalPoint.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Reference
SetPhysicalCursorPos
ClipCursor
GetCursorPos
SetCursorPos
SetCaretPos
SetCursor
ShowCursor
Conceptual
Cursors

 

 

Show:
© 2017 Microsoft