[pkg-wine-party] [wine] 40/175: user32: Add a stub for SetGestureConfig.

Michael Gilbert mgilbert at moszumanska.debian.org
Fri Jul 4 00:12:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository wine.

commit 82392e78b73c2cc4d08be8b35a9d224b4bc3e79f
Author: Austin English <austinenglish at gmail.com>
Date:   Sun Jun 15 13:34:49 2014 -0700

    user32: Add a stub for SetGestureConfig.
---
 dlls/user32/misc.c      | 10 ++++++++++
 dlls/user32/user32.spec |  1 +
 include/winuser.h       |  7 +++++++
 3 files changed, 18 insertions(+)

diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c
index 15dd75a..2e6cc35 100644
--- a/dlls/user32/misc.c
+++ b/dlls/user32/misc.c
@@ -684,3 +684,13 @@ HPOWERNOTIFY WINAPI RegisterPowerSettingNotification(HANDLE recipient, const GUI
     FIXME("(%p,%s,%x): stub\n", recipient, debugstr_guid(guid), flags);
     return NULL;
 }
+
+/**********************************************************************
+ * SetGestureConfig [USER32.@]
+ */
+BOOL WINAPI SetGestureConfig( HWND hwnd, DWORD reserved, UINT id, PGESTURECONFIG config, UINT size )
+{
+    FIXME("(%p %08x %u %p %u): stub\n", hwnd, reserved, id, config, size);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index 1425dac..da02c58 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -631,6 +631,7 @@
 @ stdcall SetDoubleClickTime(long)
 @ stdcall SetFocus(long)
 @ stdcall SetForegroundWindow(long)
+@ stdcall SetGestureConfig(ptr long long ptr long)
 @ stdcall SetInternalWindowPos(long long ptr ptr)
 @ stdcall SetKeyboardState(ptr)
 @ stdcall SetLastErrorEx(long long)
diff --git a/include/winuser.h b/include/winuser.h
index 8cda284..303f5d3 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -628,6 +628,12 @@ typedef struct tagRID_DEVICE_INFO {
 
 #define RIDEV_EXMODE(mode) ((mode) & RIDEV_EXMODEMASK)
 
+typedef struct tagGESTURECONFIG {
+    DWORD dwID;
+    DWORD dwWant;
+    DWORD dwBlock;
+} GESTURECONFIG, *PGESTURECONFIG;
+
 #define GIDC_ARRIVAL 1
 #define GIDC_REMOVAL 2
 
@@ -3916,6 +3922,7 @@ WINUSERAPI BOOL        WINAPI SetDlgItemTextW(HWND,INT,LPCWSTR);
 WINUSERAPI BOOL        WINAPI SetDoubleClickTime(UINT);
 WINUSERAPI HWND        WINAPI SetFocus(HWND);
 WINUSERAPI BOOL        WINAPI SetForegroundWindow(HWND);
+WINUSERAPI BOOL        WINAPI SetGestureConfig(HWND,DWORD,UINT,PGESTURECONFIG,UINT);
 WINUSERAPI void        WINAPI SetInternalWindowPos(HWND,UINT,LPRECT,LPPOINT);
 WINUSERAPI BOOL        WINAPI SetKeyboardState(LPBYTE);
 WINUSERAPI VOID        WINAPI SetLastErrorEx(DWORD,DWORD);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list