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.
Syntax
typedef struct _KEYBOARD_INDICATOR_TRANSLATION {
USHORT NumberOfIndicatorKeys;
INDICATOR_LIST IndicatorList[1];
} KEYBOARD_INDICATOR_TRANSLATION, *PKEYBOARD_INDICATOR_TRANSLATION;
Members
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;
MakeCode
Specifies the make scan code that is generated when a key is pressed.
IndicatorFlags
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.
Remarks
This structure is used with an IOCTL_KEYBOARD_QUERY_INDICATOR_TRANSLATION request to obtain indicator translation information.
Requirements
Requirement | Value |
---|---|
Header | ntddkbd.h (include Ntddkbd.h) |
See also
IOCTL_KEYBOARD_QUERY_ATTRIBUTES
IOCTL_KEYBOARD_QUERY_INDICATORS
IOCTL_KEYBOARD_QUERY_INDICATOR_TRANSLATION