typos, reduce mingw header diffs, extra includes.
[reactos.git] / reactos / include / ddk / ntddkbd.h
1 /*
2 * ntddkbd.h
3 *
4 * Keyboard IOCTL interface
5 *
6 * This file is part of the MinGW package.
7 *
8 * Contributors:
9 * Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
10 *
11 * THIS SOFTWARE IS NOT COPYRIGHTED
12 *
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
15 *
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAMED. This includes but is not limited to warranties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 *
21 */
22
23 #ifndef __NTDDKBD_H
24 #define __NTDDKBD_H
25
26 #if __GNUC__ >=3
27 #pragma GCC system_header
28 #endif
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 #pragma pack(push,4)
35
36
37 typedef struct _KEYBOARD_INPUT_DATA {
38
39 //
40 // Unit number. E.g., for \Device\KeyboardPort0 the unit is '0',
41 // for \Device\KeyboardPort1 the unit is '1', and so on.
42 //
43
44 USHORT UnitId;
45 USHORT MakeCode;
46 USHORT Flags;
47 USHORT Reserved;
48 ULONG ExtraInformation;
49
50 } KEYBOARD_INPUT_DATA, *PKEYBOARD_INPUT_DATA;
51
52
53 #pragma pack(pop)
54
55 #ifdef __cplusplus
56 }
57 #endif
58
59 #endif /* __NTDDKBD_H */