=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: user32: Add stub for EnableMouseInPointer().

Alexandre Julliard julliard at winehq.org
Wed Apr 11 16:12:55 CDT 2018


Module: wine
Branch: master
Commit: 9a95f10249101600bf19476df68c93c861ff926e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9a95f10249101600bf19476df68c93c861ff926e

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Wed Apr 11 15:24:23 2018 +0200

user32: Add stub for EnableMouseInPointer().

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 .../api-ms-win-rtcore-ntuser-wmpointer-l1-1-0.spec            |  2 +-
 dlls/user32/input.c                                           | 11 +++++++++++
 dlls/user32/user32.spec                                       |  1 +
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0.spec b/dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0.spec
index 1e9fa50..72cfe3d 100644
--- a/dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0.spec
+++ b/dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0.spec
@@ -1,4 +1,4 @@
-@ stub EnableMouseInPointer
+@ stdcall EnableMouseInPointer(long) user32.EnableMouseInPointer
 @ stub GetCurrentInputMessageSource
 @ stub GetPointerCursorId
 @ stub GetPointerDevice
diff --git a/dlls/user32/input.c b/dlls/user32/input.c
index ce4b13f..19d1ec9 100644
--- a/dlls/user32/input.c
+++ b/dlls/user32/input.c
@@ -1514,3 +1514,14 @@ int WINAPI GetMouseMovePointsEx(UINT size, LPMOUSEMOVEPOINT ptin, LPMOUSEMOVEPOI
     SetLastError(ERROR_POINT_NOT_FOUND);
     return -1;
 }
+
+/***********************************************************************
+ *		EnableMouseInPointer (USER32.@)
+ */
+BOOL WINAPI EnableMouseInPointer(BOOL enable)
+{
+    FIXME("(%#x) stub\n", enable);
+
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index e990951..bdecc6e 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -203,6 +203,7 @@
 @ stdcall EditWndProc(long long long long) EditWndProcA
 @ stdcall EmptyClipboard()
 @ stdcall EnableMenuItem(long long long)
+@ stdcall EnableMouseInPointer(long)
 @ stdcall EnableScrollBar(long long long)
 @ stdcall EnableWindow(long long)
 @ stdcall EndDeferWindowPos(long)




More information about the wine-cvs mailing list