4 #pragma GCC system_header
11 #if (_WIN32_WINNT < 0x0403)
12 #define INPUT_MOUSE 0x00000000
13 #define INPUT_KEYBOARD 0x00000001
14 #define INPUT_HARDWARE 0x00000002
15 #endif /* (_WIN32_WINNT < 0x04030) */
17 #define CHILDID_SELF 0
18 #define OBJID_WINDOW 0x00000000
19 #define OBJID_SYSMENU 0xFFFFFFFF
20 #define OBJID_TITLEBAR 0xFFFFFFFE
21 #define OBJID_MENU 0xFFFFFFFD
22 #define OBJID_CLIENT 0xFFFFFFFC
23 #define OBJID_VSCROLL 0xFFFFFFFB
24 #define OBJID_HSCROLL 0xFFFFFFFA
25 #define OBJID_SIZEGRIP 0xFFFFFFF9
26 #define OBJID_CARET 0xFFFFFFF8
27 #define OBJID_CURSOR 0xFFFFFFF7
28 #define OBJID_ALERT 0xFFFFFFF6
29 #define OBJID_SOUND 0xFFFFFFF5
30 #define GUI_CARETBLINKING 0x00000001
31 #define GUI_INMOVESIZE 0x00000002
32 #define GUI_INMENUMODE 0x00000004
33 #define GUI_SYSTEMMENUMODE 0x00000008
34 #define GUI_POPUPMENUMODE 0x00000010
35 #define WINEVENT_OUTOFCONTEXT 0x0000
36 #define WINEVENT_SKIPOWNTHREAD 0x0001
37 #define WINEVENT_SKIPOWNPROCESS 0x0002
38 #define WINEVENT_INCONTEXT 0x0004
39 #endif /* (WINVER < 0x0500) */
40 #if (_WIN32_WINNT < 0x0403)
41 typedef struct tagMOUSEINPUT
{
47 ULONG_PTR dwExtraInfo
;
48 } MOUSEINPUT
,*PMOUSEINPUT
;
49 typedef struct tagKEYBDINPUT
{
54 ULONG_PTR dwExtraInfo
;
55 } KEYBDINPUT
,*PKEYBDINPUT
;
56 typedef struct tagHARDWAREINPUT
{
60 } HARDWAREINPUT
,*PHARDWAREINPUT
;
61 typedef struct tagINPUT
{
63 _ANONYMOUS_UNION
union {
68 } INPUT
,*PINPUT
,*LPINPUT
;
69 #endif /* (_WIN32_WINNT < 0x0403) */
71 typedef VOID (*WINEVENTPROC
)(HWINEVENTHOOK
,DWORD
,HWND
,LONG
,LONG
,DWORD
,DWORD
);
72 typedef struct tagGUITHREADINFO
{
82 } GUITHREADINFO
,*PGUITHREADINFO
,*LPGUITHREADINFO
;
83 #endif /* (WINVER < 0x0500) */
85 BOOL WINAPI
BlockInput(BOOL
);
86 #if (_WIN32_WINNT < 0x0403)
87 UINT WINAPI
SendInput(UINT
,LPINPUT
,int);
90 BOOL WINAPI
GetGUIThreadInfo(DWORD
,LPGUITHREADINFO
);
91 void WINAPI
NotifyWinEvent(DWORD
,HWND
,LONG
,LONG
);
92 HWINEVENTHOOK WINAPI
SetWinEventHook(UINT
,UINT
,HMODULE
,WINEVENTPROC
,DWORD
,DWORD
,UINT
);
93 BOOL WINAPI
UnhookWinEvent(HWINEVENTHOOK
);
94 #endif /* (WINVER < 0x0500) */