IOCTL_KEYBOARD_SET_TYPEMATIC - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddkbd.h

// CTL_CODE(0x000b, 0x001, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_KEYBOARD_SET_TYPEMATIC 0x000B0004
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (ni-ntddkbd-ioctl_keyboard_set_typematic)

IOCTL_KEYBOARD_SET_TYPEMATIC IOCTL

Description

The IOCTL_KEYBOARD_SET_TYPEMATIC request sets the keyboard typematic settings.

Parameters

Input buffer

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.

Input buffer length

The size of a KEYBOARD_TYPEMATIC_PARAMETERS structure.

Output buffer

None.

Output buffer length

None.

Input/output buffer

Input/output buffer length

Status block

The Information member is set to zero.

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

-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.

-STATUS_SUCCESS

The request completed successfully.

See also

IOCTL_KEYBOARD_SET_INDICATORS

KEYBOARD_TYPEMATIC_PARAMETERS