1 #ifndef _WIN32K_INPUT_H
2 #define _WIN32K_INPUT_H
4 #include <internal/kbd.h>
6 typedef struct _KBDRVFILE
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
;
21 #define KBL_UNLOADED 0x20000000
22 #define KBL_RESET 0x40000000
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
);
36 #define ThreadHasInputAccess(W32Thread) \
39 #endif /* _WIN32K_INPUT_H */