From 9d6bcf3c8c1070903d331d4a2c7a05a797399430 Mon Sep 17 00:00:00 2001 From: Austin English Date: Mon, 7 Aug 2017 14:04:07 -0500 Subject: [PATCH] user32: Add UnregisterTouchWindow stub. Signed-off-by: Austin English Signed-off-by: Alexandre Julliard --- 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 4514877264e..e5ab049e7f9 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 cbf22374374..03d9ece2694 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 ad786f35f3b..6ef4c7729bb 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);