Austin English : user32: Add UnregisterTouchWindow stub.

Alexandre Julliard julliard at winehq.org
Sat Aug 12 07:19:32 CDT 2017


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

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Aug  7 14:04:07 2017 -0500

user32: Add UnregisterTouchWindow stub.

Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/user32.spec |  1 +
 dlls/user32/win.c       | 10 ++++++++++
 include/winuser.h       |  1 +
 3 files changed, 12 insertions(+)

diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index 4514877..e5ab049 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -751,6 +751,7 @@
 @ stdcall UnregisterHotKey(long long)
 # @ stub UnregisterMessagePumpHook
 @ stdcall UnregisterPowerSettingNotification(ptr)
+@ stdcall UnregisterTouchWindow(long)
 # @ stub UnregisterUserApiHook
 @ stdcall UpdateLayeredWindow(long long ptr ptr long ptr long ptr long)
 @ stdcall UpdateLayeredWindowIndirect(long ptr)
diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index cbf2237..03d9ece 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -3986,3 +3986,13 @@ BOOL WINAPI RegisterTouchWindow(HWND hwnd, ULONG flags)
     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     return FALSE;
 }
+
+/*****************************************************************************
+ *              UnregisterTouchWindow (USER32.@)
+ */
+BOOL WINAPI UnregisterTouchWindow(HWND hwnd)
+{
+    FIXME("(%p): stub\n", hwnd);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
diff --git a/include/winuser.h b/include/winuser.h
index ad786f3..6ef4c77 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -4103,6 +4103,7 @@ WINUSERAPI BOOL        WINAPI UnregisterClassW(LPCWSTR,HINSTANCE);
 WINUSERAPI BOOL        WINAPI UnregisterDeviceNotification(HDEVNOTIFY);
 WINUSERAPI BOOL        WINAPI UnregisterHotKey(HWND,INT);
 WINUSERAPI BOOL        WINAPI UnregisterPowerSettingNotification(HPOWERNOTIFY);
+WINUSERAPI BOOL        WINAPI UnregisterTouchWindow(HWND);
 WINUSERAPI BOOL        WINAPI UpdateWindow(HWND);
 WINUSERAPI BOOL        WINAPI UserHandleGrantAccess(HANDLE,HANDLE,BOOL);
 WINUSERAPI UINT        WINAPI UserRealizePalette(HDC);




More information about the wine-cvs mailing list