Export (0) Print
Expand All
IRP
MDL
Expand Minimize

CM_KEYBOARD_DEVICE_DATA structure

The CM_KEYBOARD_DEVICE_DATA structure 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.

Syntax


typedef struct _CM_KEYBOARD_DEVICE_DATA {
  USHORT Version;
  USHORT Revision;
  UCHAR  Type;
  UCHAR  Subtype;
  USHORT KeyboardFlags;
} CM_KEYBOARD_DEVICE_DATA, *PCM_KEYBOARD_DEVICE_DATA;

Members

Version

The version number of this structure.

Revision

The revision of this structure.

Type

The type of the keyboard.

Subtype

The subtype of the keyboard.

KeyboardFlags

Defined by x86 BIOS INT 16h, function 02 as:

BitDefined 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.

 

Requirements

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

See also

IoQueryDeviceDescription
IoReportResourceUsage
CM_PARTIAL_RESOURCE_DESCRIPTOR

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft