[pkg-wine-party] [wine] 49/465: user32: Add CloseTouchInputHandle/GetTouchInputInfo stubs.
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 24cea1b77baadf0d220618859cf37f0f46d5dd47
Author: Austin English <austinenglish at gmail.com>
Date: Mon Aug 7 14:04:08 2017 -0500
user32: Add CloseTouchInputHandle/GetTouchInputInfo stubs.
Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/user32.spec | 2 ++
dlls/user32/win.c | 20 ++++++++++++++++++++
include/winuser.h | 19 +++++++++++++++++++
3 files changed, 41 insertions(+)
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index e5ab049..668a4a5 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -73,6 +73,7 @@
@ stdcall ClipCursor(ptr)
@ stdcall CloseClipboard()
@ stdcall CloseDesktop(long)
+@ stdcall CloseTouchInputHandle(long)
@ stdcall CloseWindow(long)
@ stdcall CloseWindowStation(long)
@ stdcall CopyAcceleratorTableA(long ptr long)
@@ -375,6 +376,7 @@
@ stdcall GetThreadDesktop(long)
@ stdcall GetTitleBarInfo(long ptr)
@ stdcall GetTopWindow(long)
+@ stdcall GetTouchInputInfo(long long ptr long)
@ stdcall GetUpdateRect(long ptr long)
@ stdcall GetUpdateRgn(long long long)
@ stdcall GetUpdatedClipboardFormats(ptr long ptr)
diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index 03d9ece..ffb670c 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -3996,3 +3996,23 @@ BOOL WINAPI UnregisterTouchWindow(HWND hwnd)
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
+
+/*****************************************************************************
+ * CloseTouchInputHandle (USER32.@)
+ */
+BOOL WINAPI CloseTouchInputHandle(HTOUCHINPUT handle)
+{
+ FIXME("(%p): stub\n", handle);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/*****************************************************************************
+ * GetTouchInputInfo (USER32.@)
+ */
+BOOL WINAPI GetTouchInputInfo(HTOUCHINPUT handle, UINT count, TOUCHINPUT *ptr, int size)
+{
+ FIXME("(%p %u %p %u): stub\n", handle, count, ptr, size);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
diff --git a/include/winuser.h b/include/winuser.h
index 6ef4c77..e5b81d5 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -3304,6 +3304,23 @@ typedef enum ORIENTATION_PREFERENCE {
ORIENTATION_PREFERENCE_PORTRAIT_FLIPPED = 0x8
} ORIENTATION_PREFERENCE;
+/* Touch input definitions */
+DECLARE_HANDLE(HTOUCHINPUT);
+
+typedef struct tagTOUCHINPUT {
+ LONG x;
+ LONG y;
+ HANDLE hSource;
+ DWORD dwID;
+ DWORD dwFlags;
+ DWORD dwMask;
+ DWORD dwTime;
+ ULONG_PTR dwExtraInfo;
+ DWORD cxContact;
+ DWORD cyContact;
+} TOUCHINPUT, *PTOUCHINPUT;
+typedef TOUCHINPUT const * PCTOUCHINPUT;
+
#if defined(_WINGDI_) && !defined(NOGDI)
WINUSERAPI LONG WINAPI ChangeDisplaySettingsA(LPDEVMODEA,DWORD);
WINUSERAPI LONG WINAPI ChangeDisplaySettingsW(LPDEVMODEW,DWORD);
@@ -3422,6 +3439,7 @@ WINUSERAPI BOOL WINAPI ClientToScreen(HWND,LPPOINT);
WINUSERAPI BOOL WINAPI ClipCursor(const RECT*);
WINUSERAPI BOOL WINAPI CloseClipboard(void);
WINUSERAPI BOOL WINAPI CloseDesktop(HDESK);
+WINUSERAPI BOOL WINAPI CloseTouchInputHandle(HTOUCHINPUT);
WINUSERAPI BOOL WINAPI CloseWindow(HWND);
WINUSERAPI BOOL WINAPI CloseWindowStation(HWINSTA);
WINUSERAPI INT WINAPI CopyAcceleratorTableA(HACCEL,LPACCEL,INT);
@@ -3724,6 +3742,7 @@ WINUSERAPI DWORD WINAPI GetTabbedTextExtentW(HDC,LPCWSTR,INT,INT,const INT
WINUSERAPI BOOL WINAPI GetTitleBarInfo(HWND,PTITLEBARINFO);
WINUSERAPI HDESK WINAPI GetThreadDesktop(DWORD);
WINUSERAPI HWND WINAPI GetTopWindow(HWND);
+WINUSERAPI BOOL WINAPI GetTouchInputInfo(HTOUCHINPUT,UINT,TOUCHINPUT*,int);
WINUSERAPI BOOL WINAPI GetUpdateRect(HWND,LPRECT,BOOL);
WINUSERAPI INT WINAPI GetUpdateRgn(HWND,HRGN,BOOL);
WINUSERAPI BOOL WINAPI GetUpdatedClipboardFormats(UINT*,UINT,UINT*);
--
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