[PATCH 3/3] user32: add GetGestureInfo stub
Austin English
austinenglish at gmail.com
Mon Aug 7 14:04:09 CDT 2017
Signed-off-by: Austin English <austinenglish at gmail.com>
---
dlls/user32/user32.spec | 1 +
dlls/user32/win.c | 10 ++++++++++
include/winuser.h | 17 +++++++++++++++++
3 files changed, 28 insertions(+)
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index 668a4a5ea3..9407c34843 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -295,6 +295,7 @@
@ stdcall GetFocus()
@ stdcall GetForegroundWindow()
@ stdcall GetGestureConfig(long long long ptr ptr long)
+@ stdcall GetGestureInfo(long ptr)
@ stdcall GetGUIThreadInfo(long ptr)
@ stdcall GetGuiResources(long long)
@ stdcall GetIconInfo(long ptr)
diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index ffb670cd1d..382ca1086e 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -4016,3 +4016,13 @@ BOOL WINAPI GetTouchInputInfo(HTOUCHINPUT handle, UINT count, TOUCHINPUT *ptr, i
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
+
+/*****************************************************************************
+ * GetGestureInfo (USER32.@)
+ */
+BOOL WINAPI GetGestureInfo(HGESTUREINFO handle, PGESTUREINFO ptr)
+{
+ FIXME("(%p %p): stub\n", handle, ptr);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
diff --git a/include/winuser.h b/include/winuser.h
index e5b81d5235..75bfe2b44e 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -3321,6 +3321,22 @@ typedef struct tagTOUCHINPUT {
} TOUCHINPUT, *PTOUCHINPUT;
typedef TOUCHINPUT const * PCTOUCHINPUT;
+/* Gesture definitions */
+DECLARE_HANDLE(HGESTUREINFO);
+
+typedef struct tagGESTUREINFO {
+ UINT cbSize;
+ DWORD dwFlags;
+ DWORD dwID;
+ HWND hwndTarget;
+ POINTS ptsLocation;
+ DWORD dwInstanceID;
+ DWORD dwSequenceID;
+ ULONGLONG ullArguments;
+ UINT cbExtraArgs;
+} GESTUREINFO, *PGESTUREINFO;
+typedef GESTUREINFO const * PCGESTUREINFO;
+
#if defined(_WINGDI_) && !defined(NOGDI)
WINUSERAPI LONG WINAPI ChangeDisplaySettingsA(LPDEVMODEA,DWORD);
WINUSERAPI LONG WINAPI ChangeDisplaySettingsW(LPDEVMODEW,DWORD);
@@ -3658,6 +3674,7 @@ 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 GetGestureInfo(HGESTUREINFO,PGESTUREINFO);
WINUSERAPI BOOL WINAPI GetGUIThreadInfo(DWORD,GUITHREADINFO*);
WINUSERAPI DWORD WINAPI GetGuiResources(HANDLE,DWORD);
WINUSERAPI BOOL WINAPI GetIconInfo(HICON,PICONINFO);
--
2.13.0
More information about the wine-patches
mailing list