IOCTL_KEYBOARD_QUERY_ATTRIBUTES IOCTL

The IOCTL_KEYBOARD_QUERY_ATTRIBUTES request returns information about the keyboard attributes.

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 KEYBOARD_ATTRIBUTES structure.

Input buffer length

The size of a KEYBOARD_ATTRIBUTES structure.

Output buffer

AssociatedIrp.SystemBuffer points to a client-allocated buffer that I8042prt uses to output a KEYBOARD_ATTRIBUTES structure.

Output buffer length

The size of a KEYBOARD_ATTRIBUTES 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 a KEYBOARD_ATTRIBUTES structure. Otherwise the Information member 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_INDICATORS

IOCTL_KEYBOARD_QUERY_INDICATOR_TRANSLATION

IOCTL_KEYBOARD_QUERY_TYPEMATIC

KEYBOARD_ATTRIBUTES