Louis Lenders : user32: Add stub for RegisterPointerDeviceNotifications.

Alexandre Julliard julliard at winehq.org
Tue Jun 5 17:06:41 CDT 2018


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

Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date:   Mon Jun  4 15:51:26 2018 +0200

user32: Add stub for RegisterPointerDeviceNotifications.

Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/misc.c      | 9 +++++++++
 dlls/user32/user32.spec | 1 +
 include/winuser.h       | 1 +
 3 files changed, 11 insertions(+)

diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c
index 895ccce..be4b71a 100644
--- a/dlls/user32/misc.c
+++ b/dlls/user32/misc.c
@@ -837,6 +837,15 @@ LONG WINAPI GetDisplayConfigBufferSizes(UINT32 flags, UINT32 *num_path_info, UIN
     return ERROR_NOT_SUPPORTED;
 }
 
+/**********************************************************************
+ * RegisterPointerDeviceNotifications [USER32.@]
+ */
+BOOL WINAPI RegisterPointerDeviceNotifications(HWND hwnd, BOOL notifyrange)
+{
+    FIXME("(%p %d): stub\n", hwnd, notifyrange);
+    return FALSE;
+}
+
 static const WCHAR imeW[] = {'I','M','E',0};
 const struct builtin_class_descr IME_builtin_class =
 {
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index eb71e3b..2e5b203 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -598,6 +598,7 @@
 @ stdcall RegisterLogonProcess(long long)
 # @ stub RegisterMessagePumpHook
 @ stub RegisterNetworkCapabilities
+@ stdcall RegisterPointerDeviceNotifications(long long)
 @ stdcall RegisterPowerSettingNotification(long ptr long)
 @ stdcall RegisterRawInputDevices(ptr long long)
 @ stdcall RegisterServicesProcess(long)
diff --git a/include/winuser.h b/include/winuser.h
index 8e9e91b..648efbe 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -4004,6 +4004,7 @@ WINUSERAPI HDEVNOTIFY  WINAPI RegisterDeviceNotificationA(HANDLE,LPVOID,DWORD);
 WINUSERAPI HDEVNOTIFY  WINAPI RegisterDeviceNotificationW(HANDLE,LPVOID,DWORD);
 #define                       RegisterDeviceNotification WINELIB_NAME_AW(RegisterDeviceNotification)
 WINUSERAPI BOOL        WINAPI RegisterHotKey(HWND,INT,UINT,UINT);
+WINUSERAPI BOOL        WINAPI RegisterPointerDeviceNotifications(HWND,BOOL);
 WINUSERAPI HPOWERNOTIFY WINAPI RegisterPowerSettingNotification(HANDLE,LPCGUID,DWORD);
 WINUSERAPI BOOL        WINAPI RegisterRawInputDevices(PRAWINPUTDEVICE,UINT,UINT);
 WINUSERAPI BOOL        WINAPI RegisterShellHookWindow(HWND);




More information about the wine-cvs mailing list