有MSDN为证:
GetCursorPos
The GetCursorPos function retrieves the cursor's position, in screen coordinates.
BOOL GetCursorPos(
LPPOINT lpPoint // cursor position
);
Parameters
lpPoint
[out] Pointer to a POINT structure that receives the screen coordinates of the cursor.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
以及它能否精确定位鼠标位置
==肯定是屏幕坐标。与映射关系无关。
The cursor position is always specified in screen coordinates and is not affected by the mapping mode of the window that contains the cursor.