[PATCH 1/3] user32: add UnregisterTouchWindow stub
Austin English
austinenglish at gmail.com
Mon Aug 7 14:04:07 CDT 2017
Signed-off-by: Austin English <austinenglish at gmail.com>
---
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 4514877264..e5ab049e7f 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 cbf2237437..03d9ece269 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 ad786f35f3..6ef4c7729b 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);
--
2.13.0
More information about the wine-patches
mailing list