ReactOS 0.4.16-dev-122-g325d74c
winable.h
Go to the documentation of this file.
1#ifndef _WINABLE_H
2#define _WINABLE_H
3
4#ifdef __cplusplus
5extern "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)
38typedef struct tagMOUSEINPUT {
46typedef struct tagKEYBDINPUT {
53typedef struct tagHARDWAREINPUT {
58typedef struct tagINPUT {
60 _ANONYMOUS_UNION union {
66#endif /* (_WIN32_WINNT < 0x0403) */
67#if (WINVER < 0x0500)
69typedef 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
#define VOID
Definition: acefi.h:82
HANDLE HWND
Definition: compat.h:19
#define CALLBACK
Definition: compat.h:35
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
static HWINEVENTHOOK(WINAPI *pSetWinEventHook)(DWORD
unsigned int UINT
Definition: ndis.h:50
#define DWORD
Definition: nt_native.h:44
#define _ANONYMOUS_UNION
Definition: ntbasedef.h:30
long LONG
Definition: pedump.c:60
HWND hwndCaret
Definition: winable.h:77
HWND hwndFocus
Definition: winable.h:73
HWND hwndMenuOwner
Definition: winable.h:75
HWND hwndMoveSize
Definition: winable.h:76
DWORD cbSize
Definition: winable.h:70
HWND hwndCapture
Definition: winable.h:74
HWND hwndActive
Definition: winable.h:72
KEYBDINPUT ki
Definition: winable.h:62
DWORD type
Definition: winable.h:59
_ANONYMOUS_UNION union tagINPUT::@3268 DUMMYUNIONNAME
HARDWAREINPUT hi
Definition: winable.h:63
MOUSEINPUT mi
Definition: winable.h:61
DWORD dwFlags
Definition: winable.h:49
WORD wVk
Definition: winable.h:47
WORD wScan
Definition: winable.h:48
ULONG_PTR dwExtraInfo
Definition: winable.h:51
DWORD time
Definition: winable.h:50
DWORD time
Definition: winable.h:43
ULONG_PTR dwExtraInfo
Definition: winable.h:44
DWORD mouseData
Definition: winable.h:41
DWORD dwFlags
Definition: winable.h:42
uint32_t ULONG_PTR
Definition: typedefs.h:65
VOID(CALLBACK * WINEVENTPROC)(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD)
Definition: winable.h:68
struct tagMOUSEINPUT MOUSEINPUT
struct tagINPUT * LPINPUT
struct tagMOUSEINPUT * PMOUSEINPUT
struct tagHARDWAREINPUT * PHARDWAREINPUT
struct tagINPUT * PINPUT
struct tagGUITHREADINFO * LPGUITHREADINFO
struct tagGUITHREADINFO GUITHREADINFO
UINT WINAPI SendInput(UINT, LPINPUT, int)
Definition: ntwrapper.h:344
void WINAPI NotifyWinEvent(DWORD, HWND, LONG, LONG)
Definition: hook.c:325
BOOL WINAPI BlockInput(BOOL)
Definition: ntwrapper.h:308
struct tagKEYBDINPUT * PKEYBDINPUT
struct tagHARDWAREINPUT HARDWAREINPUT
struct tagGUITHREADINFO * PGUITHREADINFO
HWINEVENTHOOK WINAPI SetWinEventHook(UINT, UINT, HMODULE, WINEVENTPROC, DWORD, DWORD, UINT)
Definition: hook.c:344
struct tagKEYBDINPUT KEYBDINPUT
struct tagINPUT INPUT
BOOL WINAPI UnhookWinEvent(HWINEVENTHOOK)
BOOL WINAPI GetGUIThreadInfo(DWORD, LPGUITHREADINFO)
Definition: ntwrapper.h:398
#define WINAPI
Definition: msvc.h:6