IOCTL_KEYBOARD_QUERY_TYPEMATIC - NtDoc

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

// CTL_CODE(0x000b, 0x008, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_KEYBOARD_QUERY_TYPEMATIC 0x000B0020
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (ni-ntddkbd-ioctl_keyboard_query_typematic)

IOCTL_KEYBOARD_QUERY_TYPEMATIC IOCTL

Description

The IOCTL_KEYBOARD_QUERY_TYPEMATIC request returns the keyboard typematic settings.

Parameters

Input buffer

Parameters.DeviceIoControl.OutputBufferLength 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

AssociatedIrp.SystemBuffer points to a client-allocated output buffer that I8042prt uses to output a KEYBOARD_TYPEMATIC_PARAMETERS structure.

Output buffer length

The size of a KEYBOARD_TYPEMATIC_PARAMETERS structure.

Input/output buffer

Input/output buffer length

Status block

If the request is successful, the Information member is set to the size, in bytes, of a KEYBOARD_TYPEMATIC_PARAMETERS structure. Otherwise, Information is set to zero.

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

-STATUS_BUFFER_TOO_SMALL

Parameters.DeviceIoControl.OutputBufferLength is less than the size, in bytes, of a KEYBOARD_TYPEMATIC_PARAMETERS structure.

-STATUS_SUCCESS

The request completed successfully.

See also

IOCTL_KEYBOARD_QUERY_ATTRIBUTES

IOCTL_KEYBOARD_QUERY_INDICATORS

IOCTL_KEYBOARD_QUERY_INDICATOR_TRANSLATION

KEYBOARD_TYPEMATIC_PARAMETERS