typedef struct _CM_KEYBOARD_DEVICE_DATA {
USHORT Version;
USHORT Revision;
UCHAR Type;
UCHAR Subtype;
USHORT KeyboardFlags;
} CM_KEYBOARD_DEVICE_DATA, *PCM_KEYBOARD_DEVICE_DATA;
CM_KEYBOARD_DEVICE_DATA defines a device-type-specific data record that is stored in the \\Registry\Machine\Hardware\Description tree for a keyboard peripheral if the system can collect this information during the boot process.
|
Bit |
Defined As |
|
7 |
Insert on. |
|
6 |
Caps Lock on. |
|
5 |
Num Lock on. |
|
4 |
Scroll Lock on. |
|
3 |
Alt Key is down. |
|
2 |
Ctrl Key is down. |
|
1 |
Left shift key is down. |
|
0 |
Right shift key is down. |