// ntddkbd.h
// CTL_CODE(0x000b, 0x001, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_KEYBOARD_SET_TYPEMATIC 0x000B0004
View the official Win32 API referenceNo description available.
The IOCTL_KEYBOARD_SET_TYPEMATIC request sets the keyboard typematic settings.
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.
The size of a KEYBOARD_TYPEMATIC_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_TYPEMATIC_PARAMETERS structure, or the specified typematic settings are invalid.
The request timed out.
The request completed successfully.