ReactOS  0.4.13-dev-563-g0561610
winable.h
Go to the documentation of this file.
1 #ifndef _WINABLE_H
2 #define _WINABLE_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #if (_WIN32_WINNT < 0x0403)
9 #define INPUT_MOUSE 0x00000000
10 #define INPUT_KEYBOARD 0x00000001
11 #define INPUT_HARDWARE 0x00000002
12 #endif /* (_WIN32_WINNT < 0x04030) */
13 #if (WINVER < 0x0500)
14 #define CHILDID_SELF 0
15 #define OBJID_WINDOW 0x00000000
16 #define OBJID_SYSMENU 0xFFFFFFFF
17 #define OBJID_TITLEBAR 0xFFFFFFFE
18 #define OBJID_MENU 0xFFFFFFFD
19 #define OBJID_CLIENT 0xFFFFFFFC
20 #define OBJID_VSCROLL 0xFFFFFFFB
21 #define OBJID_HSCROLL 0xFFFFFFFA
22 #define OBJID_SIZEGRIP 0xFFFFFFF9
23 #define OBJID_CARET 0xFFFFFFF8
24 #define OBJID_CURSOR 0xFFFFFFF7
25 #define OBJID_ALERT 0xFFFFFFF6
26 #define OBJID_SOUND 0xFFFFFFF5
27 #define GUI_CARETBLINKING 0x00000001
28 #define GUI_INMOVESIZE 0x00000002
29 #define GUI_INMENUMODE 0x00000004
30 #define GUI_SYSTEMMENUMODE 0x00000008
31 #define GUI_POPUPMENUMODE 0x00000010
32 #define WINEVENT_OUTOFCONTEXT 0x0000
33 #define WINEVENT_SKIPOWNTHREAD 0x0001
34 #define WINEVENT_SKIPOWNPROCESS 0x0002
35 #define WINEVENT_INCONTEXT 0x0004
36 #endif /* (WINVER < 0x0500) */
37 #if (_WIN32_WINNT < 0x0403)
38 typedef struct tagMOUSEINPUT {
46 typedef struct tagKEYBDINPUT {
53 typedef struct tagHARDWAREINPUT {
58 typedef struct tagINPUT {
60  _ANONYMOUS_UNION union {
65 } INPUT,*PINPUT,*LPINPUT;
66 #endif /* (_WIN32_WINNT < 0x0403) */
67 #if (WINVER < 0x0500)
69 typedef struct tagGUITHREADINFO {
80 #endif /* (WINVER < 0x0500) */
81 
83 #if (_WIN32_WINNT < 0x0403)
85 #endif
86 #if (WINVER < 0x0500)
91 #endif /* (WINVER < 0x0500) */
92 
93 #ifdef __cplusplus
94 }
95 #endif
96 #endif
HWND hwndMenuOwner
Definition: winable.h:75
void WINAPI NotifyWinEvent(DWORD, HWND, LONG, LONG)
Definition: hook.c:325
#define _ANONYMOUS_UNION
Definition: ntbasedef.h:30
DWORD cbSize
Definition: winable.h:70
#define CALLBACK
Definition: compat.h:27
HANDLE HWND
Definition: compat.h:13
DWORD time
Definition: winable.h:50
HWND hwndActive
Definition: winable.h:72
static HWINEVENTHOOK(WINAPI *pSetWinEventHook)(DWORD
struct tagHARDWAREINPUT * PHARDWAREINPUT
HARDWAREINPUT hi
Definition: winable.h:63
#define DWORD
Definition: nt_native.h:44
MOUSEINPUT mi
Definition: winable.h:61
HWND hwndCaret
Definition: winable.h:77
uint32_t ULONG_PTR
Definition: typedefs.h:63
struct tagGUITHREADINFO GUITHREADINFO
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
struct tagINPUT * LPINPUT
HWND hwndFocus
Definition: winable.h:73
DWORD dwFlags
Definition: winable.h:49
struct tagHARDWAREINPUT HARDWAREINPUT
VOID(CALLBACK * WINEVENTPROC)(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD)
Definition: winable.h:68
_ANONYMOUS_UNION union tagINPUT::@3138 DUMMYUNIONNAME
#define WINAPI
Definition: msvc.h:8
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
struct tagINPUT INPUT
struct tagGUITHREADINFO * PGUITHREADINFO
ULONG_PTR dwExtraInfo
Definition: winable.h:44
HWND hwndMoveSize
Definition: winable.h:76
#define VOID
Definition: acefi.h:82
BOOL WINAPI UnhookWinEvent(HWINEVENTHOOK)
struct tagMOUSEINPUT * PMOUSEINPUT
struct tagKEYBDINPUT KEYBDINPUT
struct tagGUITHREADINFO * LPGUITHREADINFO
DWORD type
Definition: winable.h:59
WORD wScan
Definition: winable.h:48
BOOL WINAPI BlockInput(BOOL)
Definition: ntwrapper.h:308
struct tagKEYBDINPUT * PKEYBDINPUT
DWORD mouseData
Definition: winable.h:41
unsigned int UINT
Definition: ndis.h:50
DWORD time
Definition: winable.h:43
struct tagMOUSEINPUT MOUSEINPUT
ULONG_PTR dwExtraInfo
Definition: winable.h:51
DWORD dwFlags
Definition: winable.h:42
struct tagINPUT * PINPUT
WORD wVk
Definition: winable.h:47
UINT WINAPI SendInput(UINT, LPINPUT, int)
Definition: ntwrapper.h:344
HWND hwndCapture
Definition: winable.h:74
KEYBDINPUT ki
Definition: winable.h:62
HWINEVENTHOOK WINAPI SetWinEventHook(UINT, UINT, HMODULE, WINEVENTPROC, DWORD, DWORD, UINT)
Definition: hook.c:344
BOOL WINAPI GetGUIThreadInfo(DWORD, LPGUITHREADINFO)
Definition: ntwrapper.h:398