IOCTL_KEYBOARD_SET_INDICATORS control code

The IOCTL_KEYBOARD_SET_INDICATORS request sets the keyboard indicators.

Input Parameters

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.

Output Parameters

None

I/O Status Block

The Information member is set to zero.

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

STATUS_SUCCESS

The request completed successfully.

STATUS_DEVICE_NOT_READY

The keyboard interrupt is not initialized.

STATUS_INVALID_PARAMETER

Parameters.DeviceIoControl.InputBufferLength is less than the size, in bytes, of a KEYBOARD_INDICATOR_PARAMETERS structure, or the specified indicator parameters are invalid.

STATUS_IO_TIMEOUT

The request timed out.

Requirements

Header

Ntddkbd.h (include Ntddkbd.h)

See also

IOCTL_KEYBOARD_SET_TYPEMATIC
KEYBOARD_INDICATOR_PARAMETERS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft