// ntddkbd.h
// CTL_CODE(0x000b, 0x010, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_KEYBOARD_QUERY_INDICATORS 0x000B0040
View the official Win32 API referenceNo description available.
The IOCTL_KEYBOARD_QUERY_INDICATORS request returns information about the keyboard indicators.
Parameters.DeviceIoControl.OutputBufferLength is set to a value greater than or equal to the size, in bytes, of a KEYBOARD_INDICATOR_PARAMETERS structure.
The size of a KEYBOARD_INDICATOR_PARAMETERS structure.
AssociatedIrp.SystemBuffer points to a client-allocated buffer that I8042prt uses to output a KEYBOARD_INDICATOR_PARAMETERS structure.
The size of a KEYBOARD_INDICATOR_PARAMETERS structure.
If the request is successful, the Information member is set to the size, in bytes, of a KEYBOARD_INDICATOR_PARAMETERS structure. Otherwise, Information is set to zero.
The Status member is set to one the following values:
Parameters.DeviceIoControl.OutputBufferLength is less than the size, in bytes, of a KEYBOARD_INDICATOR_PARAMETERS structure.
The request completed successfully.
IOCTL_KEYBOARD_QUERY_ATTRIBUTES
IOCTL_KEYBOARD_QUERY_INDICATOR_TRANSLATION
IOCTL_KEYBOARD_QUERY_TYPEMATIC