[PATCH] user32: add GetPhysicalCursorPos/SetPhysicalCursorPos stubs

Ken Thomases ken at codeweavers.com
Mon May 15 22:18:08 CDT 2017


On May 15, 2017, at 9:11 PM, Austin English <austinenglish at gmail.com> wrote:
> 
> https://bugs.winehq.org/show_bug.cgi?id=42985
> 
> -- 
> -Austin
> GPG: 14FB D7EA A041 937B
> ---
>  dlls/user32/input.c     | 14 ++++++++++++++
>  dlls/user32/user32.spec |  2 ++
>  2 files changed, 16 insertions(+)

Shouldn't these just pass through to GetCursorPos() and SetCursorPos(), respectively?  Their docs refer to the docs for PhysicalToLogicalPoint()[1], which says that a) the distinction is only meaningful for Vista-style DPI scaling, which Wine doesn't support; and b) since Windows 8.1, even that distinction has been eliminated by DPI virtualization.

[1] https://msdn.microsoft.com/en-us/library/windows/desktop/ms633536(v=vs.85).aspx

-Ken




More information about the wine-devel mailing list