IOCTL_KEYBOARD_QUERY_INDICATOR_TRANSLATION IOCTL

The IOCTL_KEYBOARD_QUERY_INDICATOR_TRANSLATION request returns information about the mapping between scan codes and keyboard indicators.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

Parameters.DeviceIoControl.OutputBufferLength is set to a value greater than or equal to the size, in bytes, of a device-specific KEYBOARD_INDICATOR_TRANSLATION structure. This structure includes a variable-sized array of INDICATOR_LIST members that is device-specific.

Input Buffer Length

The size of a KEYBOARD_INDICATOR_TRANSLATION structure.

Output Buffer

AssociatedIrp.SystemBuffer points to a client-allocated buffer that I8042prt uses to output a KEYBOARD_INDICATOR_TRANSLATION structure. This structure includes a variable-sized array of INDICATOR_LIST members that is device-specific.

Output Buffer Length

The size of a KEYBOARD_INDICATOR_TRANSLATION structure.

Input / Output Buffer

Input / Output Buffer Length

Status Block

If the request is successful, the Information member is set to the size, in bytes, of the device-specific KEYBOARD_INDICATOR_TRANSLATION structure. Otherwise, Information is set to zero.

The Status member is set to one of the following values:

Requirements

   
Header ntddkbd.h (include Ntddkbd.h)

See Also

IOCTL_KEYBOARD_QUERY_ATTRIBUTES

IOCTL_KEYBOARD_QUERY_INDICATORS

IOCTL_KEYBOARD_QUERY_TYPEMATIC

KEYBOARD_INDICATOR_TRANSLATION