KEYBOARD_INDICATOR_TRANSLATION structure (ntddkbd.h)
KEYBOARD_INDICATOR_TRANSLATION specifies a device-specific, variable length array of mappings between keyboard scan codes and LED indicators.
typedef struct _KEYBOARD_INDICATOR_TRANSLATION {
USHORT NumberOfIndicatorKeys;
INDICATOR_LIST IndicatorList[1];
} KEYBOARD_INDICATOR_TRANSLATION, *PKEYBOARD_INDICATOR_TRANSLATION;
NumberOfIndicatorKeys
Specifies the number of elements in the IndicatorList array.
IndicatorList[1]
Specifies a device-specific, variable-length array of INDICATOR_LIST structures.
typedef struct _INDICATOR_LIST {
USHORT MakeCode;
USHORT IndicatorFlags;
} INDICATOR_LIST, *PINDICATOR_LIST;
Specifies the make scan code that is generated when a key is pressed.
Specifies the LED indicator that corresponds to the MakeCode scan code. For information about the flags, see the LedFlags member of the KEYBOARD_INDICATOR_PARAMETERS structure.
This structure is used with an IOCTL_KEYBOARD_QUERY_INDICATOR_TRANSLATION request to obtain indicator translation information.
Requirement | Value |
---|---|
Header | ntddkbd.h (include Ntddkbd.h) |
IOCTL_KEYBOARD_QUERY_ATTRIBUTES
IOCTL_KEYBOARD_QUERY_INDICATORS
IOCTL_KEYBOARD_QUERY_INDICATOR_TRANSLATION