IOCTL_KEYBOARD_SET_TYPEMATIC control code

The IOCTL_KEYBOARD_SET_TYPEMATIC request sets the keyboard typematic settings.

Input Parameters

AssociatedIrp.SystemBuffer points to a client-allocated buffer to input a KEYBOARD_TYPEMATIC_PARAMETERS structure. The client sets the typematic parameters in this structure.

Parameters.DeviceIoControl.InputBufferLength is set to a value greater than or equal to the size, in bytes, of a KEYBOARD_TYPEMATIC_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_TYPEMATIC_PARAMETERS structure, or the specified typematic settings are invalid.

STATUS_IO_TIMEOUT

The request timed out.

Requirements

Header

Ntddkbd.h (include Ntddkbd.h)

See also

IOCTL_KEYBOARD_SET_INDICATORS
KEYBOARD_TYPEMATIC_PARAMETERS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft