user32: Add stub for GetCurrentInputMessageSource().

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2018-11-05 12:58:33 +01:00
parent 383cf211da
commit 771123afb6
4 changed files with 37 additions and 1 deletions

View File

@ -1,5 +1,5 @@
@ stdcall EnableMouseInPointer(long) user32.EnableMouseInPointer
@ stub GetCurrentInputMessageSource
@ stdcall GetCurrentInputMessageSource(ptr) user32.GetCurrentInputMessageSource
@ stub GetPointerCursorId
@ stub GetPointerDevice
@ stub GetPointerDeviceProperties

View File

@ -4131,6 +4131,16 @@ LPARAM WINAPI SetMessageExtraInfo(LPARAM lParam)
}
/***********************************************************************
* GetCurrentInputMessageSource (USER32.@)
*/
BOOL WINAPI GetCurrentInputMessageSource( INPUT_MESSAGE_SOURCE *source )
{
FIXME( "stub\n" );
return FALSE;
}
/***********************************************************************
* WaitMessage (USER.112) Suspend thread pending messages
* WaitMessage (USER32.@) Suspend thread pending messages

View File

@ -280,6 +280,7 @@
@ stdcall GetClipboardSequenceNumber ()
@ stdcall GetClipboardViewer()
@ stdcall GetComboBoxInfo(long ptr)
@ stdcall GetCurrentInputMessageSource(ptr)
@ stdcall GetCursor()
@ stdcall GetCursorFrameInfo(long long long ptr ptr)
@ stdcall GetCursorInfo(ptr)

View File

@ -674,6 +674,30 @@ typedef struct tagGUITHREADINFO
#define GUI_POPUPMENUMODE 0x00000010
#define GUI_16BITTASK 0x00000020
typedef enum tagINPUT_MESSAGE_DEVICE_TYPE
{
IMDT_UNAVAILABLE = 0x00,
IMDT_KEYBOARD = 0x01,
IMDT_MOUSE = 0x02,
IMDT_TOUCH = 0x04,
IMDT_PEN = 0x08,
IMDT_TOUCHPAD = 0x10,
} INPUT_MESSAGE_DEVICE_TYPE;
typedef enum tagINPUT_MESSAGE_ORIGIN_ID
{
IMO_UNAVAILABLE = 0x00,
IMO_HARDWARE = 0x01,
IMO_INJECTED = 0x02,
IMO_SYSTEM = 0x04,
} INPUT_MESSAGE_ORIGIN_ID;
typedef struct tagINPUT_MESSAGE_SOURCE
{
INPUT_MESSAGE_DEVICE_TYPE deviceType;
INPUT_MESSAGE_ORIGIN_ID originId;
} INPUT_MESSAGE_SOURCE;
/***** Dialogs *****/
@ -3718,6 +3742,7 @@ WINUSERAPI DWORD WINAPI GetClipboardSequenceNumber(VOID);
WINUSERAPI HWND WINAPI GetClipboardViewer(void);
WINUSERAPI BOOL WINAPI GetClipCursor(LPRECT);
WINUSERAPI BOOL WINAPI GetComboBoxInfo(HWND,PCOMBOBOXINFO);
WINUSERAPI BOOL WINAPI GetCurrentInputMessageSource(INPUT_MESSAGE_SOURCE*);
WINUSERAPI HCURSOR WINAPI GetCursor(void);
WINUSERAPI BOOL WINAPI GetCursorInfo(PCURSORINFO);
WINUSERAPI HCURSOR WINAPI GetCursorFrameInfo(HCURSOR,DWORD,DWORD,DWORD*,DWORD*);