KEYBOARD_UNIT_ID_PARAMETER structure (ntddkbd.h)
KEYBOARD_UNIT_ID_PARAMETER specifies the unit ID that Kbdclass assigns to a keyboard.
Syntax
typedef struct _KEYBOARD_UNIT_ID_PARAMETER {
USHORT UnitId;
} KEYBOARD_UNIT_ID_PARAMETER, *PKEYBOARD_UNIT_ID_PARAMETER;
Members
UnitId
Specifies the unit number of a keyboard device. A keyboard device name has the format \Device\KeyboardPortN, where the suffix N is the unit number of the device. For example, a device, whose name is \Device\KeyboardPort0, has a unit number of zero, and a device, whose name is \Device\KeyboardPort1, has a unit number of one.
Remarks
Although this structure is used with IOCTL_KEYBOARD_QUERY_Xxx requests, Kbdclass does not use the UnitId value.
Requirements
Requirement | Value |
---|---|
Header | ntddkbd.h (include Ntddkbd.h) |
See also
IOCTL_KEYBOARD_QUERY_ATTRIBUTES
IOCTL_KEYBOARD_QUERY_INDICATORS