Austin English : user32: Add GetPhysicalCursorPos/ SetPhysicalCursorPos stubs.
Module: wine Branch: master Commit: 2e9ca4626e2bedb5b8a0123a1c70d591f5e9d57c URL: http://source.winehq.org/git/wine.git/?a=commit;h=2e9ca4626e2bedb5b8a0123a1c... Author: Austin English <austinenglish(a)gmail.com> Date: Mon May 15 21:07:44 2017 -0500 user32: Add GetPhysicalCursorPos/SetPhysicalCursorPos stubs. Signed-off-by: Austin English <austinenglish(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/user32/input.c | 19 +++++++++++++++++++ dlls/user32/user32.spec | 2 ++ 2 files changed, 21 insertions(+) diff --git a/dlls/user32/input.c b/dlls/user32/input.c index 44b7e70..c475b19 100644 --- a/dlls/user32/input.c +++ b/dlls/user32/input.c @@ -285,6 +285,16 @@ BOOL WINAPI GetCursorInfo( PCURSORINFO pci ) /*********************************************************************** + * GetPhysicalCursorPos (USER32.@) +*/ + +BOOL WINAPI GetPhysicalCursorPos(POINT *point) +{ + FIXME("(%p) semi-stub: forwarding to GetCursorPos\n", point); + return GetCursorPos(point); +} + +/*********************************************************************** * SetCursorPos (USER32.@) */ BOOL WINAPI DECLSPEC_HOTPATCH SetCursorPos( INT x, INT y ) @@ -310,6 +320,15 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetCursorPos( INT x, INT y ) return ret; } +/*********************************************************************** + * SetPhysicalCursorPos (USER32.@) +*/ + +BOOL WINAPI SetPhysicalCursorPos(INT x, INT y) +{ + FIXME("(%u %u) semi-stub: forwarding to SetCursorPos\n", x, y); + return SetCursorPos(x, y); +} /********************************************************************** * SetCapture (USER32.@) diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index b79a6b0..1d492e4 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -344,6 +344,7 @@ # @ stub GetNextQueueWindow @ stdcall GetOpenClipboardWindow() @ stdcall GetParent(long) +@ stdcall GetPhysicalCursorPos(ptr) @ stdcall GetPriorityClipboardFormat(ptr long) @ stdcall GetProcessDefaultLayout(ptr) @ stdcall GetProcessWindowStation() @@ -658,6 +659,7 @@ @ stdcall SetMessageExtraInfo(long) @ stdcall SetMessageQueue(long) @ stdcall SetParent(long long) +@ stdcall SetPhysicalCursorPos(long long) @ stdcall SetProcessDefaultLayout(long) @ stdcall SetProcessDPIAware() @ stdcall SetProcessWindowStation(long)
participants (1)
-
Alexandre Julliard