From 9023a95e5b0a8d96bdf74d926d3715fafbf98266 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Thu, 27 Nov 2014 12:17:26 +0100 Subject: [PATCH] user32: Add a stub implementation of IsTouchWindow. --- dlls/user32/misc.c | 11 ++++++++++- dlls/user32/user32.spec | 1 + include/winuser.h | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c index bcf62636665..b3615e8dc3e 100644 --- a/dlls/user32/misc.c +++ b/dlls/user32/misc.c @@ -727,7 +727,16 @@ BOOL WINAPI SetGestureConfig( HWND hwnd, DWORD reserved, UINT id, PGESTURECONFIG { FIXME("(%p %08x %u %p %u): stub\n", hwnd, reserved, id, config, size); SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; + return FALSE; +} + +/********************************************************************** + * IsTouchWindow [USER32.@] + */ +BOOL WINAPI IsTouchWindow( HWND hwnd, PULONG flags ) +{ + FIXME("(%p %p): stub\n", hwnd, flags); + return FALSE; } static const WCHAR imeW[] = {'I','M','E',0}; diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index da02c58d2c2..a8bbe8344b8 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -445,6 +445,7 @@ @ stdcall IsMenu(long) @ stdcall IsRectEmpty(ptr) # @ stub IsServerSideWindow +@ stdcall IsTouchWindow(long ptr) @ stdcall IsWinEventHookInstalled(long) @ stdcall IsWindow(long) @ stdcall IsWindowEnabled(long) diff --git a/include/winuser.h b/include/winuser.h index 303f5d32214..3d9b937224c 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -3735,6 +3735,7 @@ WINUSERAPI BOOL WINAPI IsHungAppWindow(HWND); WINUSERAPI BOOL WINAPI IsIconic(HWND); WINUSERAPI BOOL WINAPI IsMenu(HMENU); WINUSERAPI BOOL WINAPI IsRectEmpty(const RECT*); +WINUSERAPI BOOL WINAPI IsTouchWindow(HWND,PULONG); WINUSERAPI BOOL WINAPI IsWinEventHookInstalled(DWORD); WINUSERAPI BOOL WINAPI IsWindow(HWND); WINUSERAPI BOOL WINAPI IsWindowEnabled(HWND); -- 2.11.4.GIT