[pkg-wine-party] [wine] 50/465: user32: Add GetGestureInfo stub.
Michael Gilbert
mgilbert at moszumanska.debian.org
Sun Sep 17 19:07:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
mgilbert pushed a commit to branch master
in repository wine.
commit 797a746fc2a1b17d67b7423293e081e3e7171033
Author: Austin English <austinenglish at gmail.com>
Date: Mon Aug 7 14:04:09 2017 -0500
user32: Add GetGestureInfo stub.
Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 668a4a5..9407c34 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 ffb670c..382ca10 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 e5b81d5..75bfe2b 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);
--
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