Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IOCTL_KEYBOARD_SET_INDICATORS control code

The IOCTL_KEYBOARD_SET_INDICATORS request sets the keyboard indicators.

Input Buffer

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.

Input Buffer Length

The size of a KEYBOARD_INDICATOR_PARAMETERS structure.

Output Buffer

None.

Output Buffer Length

None.

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: