From: Austin English Subject: [PATCH] user32: add GetPhysicalCursorPos/SetPhysicalCursorPos stubs (try 3) Message-Id: Date: Tue, 16 May 2017 12:38:00 -0500 CC: Dmitry Timoshkov CC: Ken Thomases -- -Austin GPG: 14FB D7EA A041 937B From 2dda718ce0615ec5342d69d805b879ae0a4b637b Mon Sep 17 00:00:00 2001 From: Austin English Date: Mon, 15 May 2017 21:07:44 -0500 Subject: [PATCH] user32: add GetPhysicalCursorPos/SetPhysicalCursorPos stubs (try 3) Signed-off-by: Austin English --- 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 44b7e706f2..c475b191ab 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 b79a6b00fe..1d492e48e7 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) -- 2.13.0