Austin English : user32: Add GetGestureConfig stub.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Mar 14 09:05:21 CDT 2016


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

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Mar  7 11:08:41 2016 -0600

user32: Add GetGestureConfig stub.

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

---

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

diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c
index 33016a1..4497621 100644
--- a/dlls/user32/misc.c
+++ b/dlls/user32/misc.c
@@ -729,6 +729,16 @@ BOOL WINAPI UnregisterPowerSettingNotification(HPOWERNOTIFY handle)
     return TRUE;
 }
 
+/*****************************************************************************
+ * GetGestureConfig (USER32.@)
+ */
+BOOL WINAPI GetGestureConfig( HWND hwnd, DWORD reserved, DWORD flags, UINT *count, GESTURECONFIG *config, UINT size )
+{
+    FIXME("(%p %08x %08x %p %p %u): stub\n", hwnd, reserved, flags, count, config, size);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
+
 /**********************************************************************
  * SetGestureConfig [USER32.@]
  */
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index 2f5d36f..9ff5525 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -291,6 +291,7 @@
 @ stdcall GetDoubleClickTime()
 @ stdcall GetFocus()
 @ stdcall GetForegroundWindow()
+@ stdcall GetGestureConfig(long long long ptr ptr long)
 @ stdcall GetGUIThreadInfo(long ptr)
 @ stdcall GetGuiResources(long long)
 @ stdcall GetIconInfo(long ptr)
diff --git a/include/winuser.h b/include/winuser.h
index fa3e661..9c4586f 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -3605,6 +3605,7 @@ WINUSERAPI UINT        WINAPI GetDlgItemTextW(HWND,INT,LPWSTR,INT);
 WINUSERAPI UINT        WINAPI GetDoubleClickTime(void);
 WINUSERAPI HWND        WINAPI GetFocus(void);
 WINUSERAPI HWND        WINAPI GetForegroundWindow(void);
+WINUSERAPI BOOL        WINAPI GetGestureConfig(HWND,DWORD,DWORD,UINT*,GESTURECONFIG*,UINT);
 WINUSERAPI BOOL        WINAPI GetGUIThreadInfo(DWORD,GUITHREADINFO*);
 WINUSERAPI BOOL        WINAPI GetIconInfo(HICON,PICONINFO);
 WINUSERAPI BOOL        WINAPI GetIconInfoExA(HICON,ICONINFOEXA*);




More information about the wine-cvs mailing list