Hans Leidekker : user32: Add a stub implementation of IsTouchWindow.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Nov 27 16:07:42 CST 2014


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Thu Nov 27 12:17:26 2014 +0100

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 bcf6263..b3615e8 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 da02c58..a8bbe83 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 303f5d3..3d9b937 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);




More information about the wine-cvs mailing list