// ntddkbd.h
// CTL_CODE(0x000b, 0x002, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_KEYBOARD_SET_INDICATORS 0x000B0008
View the official Win32 API referenceNo description available.
The IOCTL_KEYBOARD_SET_INDICATORS request sets the keyboard indicators.
AssociatedIrp.SystemBuffer points to a client-allocated buffer that inputs a KEYBOARD_INDICATOR_PARAMETERS structure. The client sets the indicator parameters in this structure.
Parameters.DeviceIoControl.InputBufferLength 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.
None.
None.
The Information member is set to zero.
The Status member is set to one of the following values:
The keyboard interrupt is not initialized.
Parameters.DeviceIoControl.InputBufferLength is less than the size, in bytes, of a KEYBOARD_INDICATOR_PARAMETERS structure, or the specified indicator parameters are invalid.
The request timed out.
The request completed successfully.