Should be 7 zeros not 6.
[reactos.git] / reactos / subsystems / win32 / win32k / include / input.h
1 #ifndef _WIN32K_INPUT_H
2 #define _WIN32K_INPUT_H
3
4 #include <internal/kbd.h>
5
6 typedef struct _KBDRVFILE
7 {
8 PSINGLE_LIST_ENTRY pkbdfChain;
9 WCHAR wcKBDF[9]; // used w GetKeyboardLayoutName same as wszKLID.
10 struct _KBDTABLES* KBTables; // KBDTABLES in ntoskrnl/include/internal/kbd.h
11 } KBDRVFILE, *PKBDRVFILE;
12
13 typedef struct _KBL
14 {
15 PLIST_ENTRY pklChain;
16 DWORD dwKBLFlags;
17 HKL hkl;
18 PKBDRVFILE pkbdf;
19 } KBL, *PKBL;
20
21 #define KBL_UNLOADED 0x20000000
22 #define KBL_RESET 0x40000000
23
24 NTSTATUS FASTCALL
25 InitInputImpl(VOID);
26 NTSTATUS FASTCALL
27 InitKeyboardImpl(VOID);
28 PUSER_MESSAGE_QUEUE W32kGetPrimitiveMessageQueue(VOID);
29 VOID W32kUnregisterPrimitiveMessageQueue(VOID);
30 PKBDTABLES W32kGetDefaultKeyLayout(VOID);
31 VOID FASTCALL W32kKeyProcessMessage(LPMSG Msg, PKBDTABLES KeyLayout, BYTE Prefix);
32 BOOL FASTCALL IntBlockInput(PW32THREAD W32Thread, BOOL BlockIt);
33 BOOL FASTCALL IntMouseInput(MOUSEINPUT *mi);
34 BOOL FASTCALL IntKeyboardInput(KEYBDINPUT *ki);
35
36 #define ThreadHasInputAccess(W32Thread) \
37 (TRUE)
38
39 #endif /* _WIN32K_INPUT_H */