Commit 771123af authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Add stub for GetCurrentInputMessageSource().

parent 383cf211
@ stdcall EnableMouseInPointer(long) user32.EnableMouseInPointer
@ stub GetCurrentInputMessageSource
@ stdcall GetCurrentInputMessageSource(ptr) user32.GetCurrentInputMessageSource
@ stub GetPointerCursorId
@ stub GetPointerDevice
@ stub GetPointerDeviceProperties
......
......@@ -4132,6 +4132,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
*
......
......@@ -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)
......
......@@ -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*);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment