Austin English : user32: Add LogicalToPhysicalPoint/ PhysicalToLogicalPoint stubs.

Alexandre Julliard julliard at winehq.org
Fri Oct 20 07:19:57 CDT 2017


Module: wine
Branch: stable
Commit: bb87ed485a6861dc0a3b9142b11f2c6f020e2b58
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bb87ed485a6861dc0a3b9142b11f2c6f020e2b58

Author: Austin English <austinenglish at gmail.com>
Date:   Thu May 18 13:20:07 2017 -0500

user32: Add LogicalToPhysicalPoint/PhysicalToLogicalPoint stubs.

Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 3b9e49b4d8815754e5c7b7a0c4f982e6efa0ac62)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 .../ext-ms-win-ntuser-uicontext-ext-l1-1-0.spec    |  2 +-
 .../ext-ms-win-ntuser-window-l1-1-1.spec           |  2 +-
 dlls/user32/user32.spec                            |  2 ++
 dlls/user32/winpos.c                               | 24 ++++++++++++++++++++++
 4 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0/ext-ms-win-ntuser-uicontext-ext-l1-1-0.spec b/dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0/ext-ms-win-ntuser-uicontext-ext-l1-1-0.spec
index 69488d1..4b563ff 100644
--- a/dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0/ext-ms-win-ntuser-uicontext-ext-l1-1-0.spec
+++ b/dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0/ext-ms-win-ntuser-uicontext-ext-l1-1-0.spec
@@ -36,7 +36,7 @@
 @ stdcall IsWindow(long) user32.IsWindow
 @ stdcall IsWindowUnicode(long) user32.IsWindowUnicode
 @ stdcall IsWindowVisible(long) user32.IsWindowVisible
-@ stub LogicalToPhysicalPoint
+@ stdcall LogicalToPhysicalPoint(long ptr) user32.LogicalToPhysicalPoint
 @ stdcall MoveWindow(long long long long long long) user32.MoveWindow
 @ stdcall RemovePropW(long wstr) user32.RemovePropW
 @ stdcall SetForegroundWindow(long) user32.SetForegroundWindow
diff --git a/dlls/ext-ms-win-ntuser-window-l1-1-1/ext-ms-win-ntuser-window-l1-1-1.spec b/dlls/ext-ms-win-ntuser-window-l1-1-1/ext-ms-win-ntuser-window-l1-1-1.spec
index 69488d1..4b563ff 100644
--- a/dlls/ext-ms-win-ntuser-window-l1-1-1/ext-ms-win-ntuser-window-l1-1-1.spec
+++ b/dlls/ext-ms-win-ntuser-window-l1-1-1/ext-ms-win-ntuser-window-l1-1-1.spec
@@ -36,7 +36,7 @@
 @ stdcall IsWindow(long) user32.IsWindow
 @ stdcall IsWindowUnicode(long) user32.IsWindowUnicode
 @ stdcall IsWindowVisible(long) user32.IsWindowVisible
-@ stub LogicalToPhysicalPoint
+@ stdcall LogicalToPhysicalPoint(long ptr) user32.LogicalToPhysicalPoint
 @ stdcall MoveWindow(long long long long long long) user32.MoveWindow
 @ stdcall RemovePropW(long wstr) user32.RemovePropW
 @ stdcall SetForegroundWindow(long) user32.SetForegroundWindow
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index 65a5bfe..c5ef0e7 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -488,6 +488,7 @@
 @ stub LockWindowStation
 @ stdcall LockWindowUpdate(long)
 @ stdcall LockWorkStation()
+@ stdcall LogicalToPhysicalPoint(long ptr)
 @ stdcall LookupIconIdFromDirectory(ptr long)
 @ stdcall LookupIconIdFromDirectoryEx(ptr long long long long)
 @ stub MBToWCSEx
@@ -538,6 +539,7 @@
 # @ stub PaintMenuBar
 @ stdcall PeekMessageA(ptr long long long long)
 @ stdcall PeekMessageW(ptr long long long long)
+@ stdcall PhysicalToLogicalPoint(long ptr)
 @ stub PlaySoundEvent
 @ stdcall PostMessageA(long long long long)
 @ stdcall PostMessageW(long long long long)
diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c
index a6c2ce1..33644ff 100644
--- a/dlls/user32/winpos.c
+++ b/dlls/user32/winpos.c
@@ -2948,3 +2948,27 @@ void WINPOS_SysCommandSizeMove( HWND hwnd, WPARAM wParam )
         else WINPOS_ShowIconTitle( hwnd, TRUE );
     }
 }
+
+/***********************************************************************
+ *		LogicalToPhysicalPoint (USER32.@)
+ */
+BOOL WINAPI LogicalToPhysicalPoint(HWND hwnd, POINT *point)
+{
+    static int once;
+
+    if (!once++)
+        FIXME("(%p %p) stub\n", hwnd, point);
+    return TRUE;
+}
+
+/***********************************************************************
+ *		PhysicalToLogicalPoint (USER32.@)
+ */
+BOOL WINAPI PhysicalToLogicalPoint(HWND hwnd, POINT *point)
+{
+    static int once;
+
+    if (!once++)
+        FIXME("(%p %p) stub\n", hwnd, point);
+    return TRUE;
+}




More information about the wine-cvs mailing list