KEYBOARD_UNIT_ID_PARAMETER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddkbd.h

typedef struct _KEYBOARD_UNIT_ID_PARAMETER {
  USHORT UnitId;
} KEYBOARD_UNIT_ID_PARAMETER, *PKEYBOARD_UNIT_ID_PARAMETER;
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (ns-ntddkbd-keyboard_unit_id_parameter)

KEYBOARD_UNIT_ID_PARAMETER structure

Description

KEYBOARD_UNIT_ID_PARAMETER specifies the unit ID that Kbdclass assigns to a keyboard.

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.

See also

IOCTL_KEYBOARD_QUERY_ATTRIBUTES

IOCTL_KEYBOARD_QUERY_INDICATORS

IOCTL_KEYBOARD_QUERY_INDICATOR_TRANSLATION

IOCTL_KEYBOARD_QUERY_TYPEMATIC