IOCTL_INTERNAL_I8042_KEYBOARD_WRITE_BUFFER IOCTL

The IOCTL_INTERNAL_I8042_KEYBOARD_WRITE_BUFFER request writes data to the i8042 port controller to control operation of a keyboard device. A filter driver can use this request to control the operation of a keyboard.

I8042prt synchronizes write buffer requests and other keyboard requests that write to the i8042 port controller, including IOCTL_KEYBOARD_SET_INDICATORS and IOCTL_KEYBOARD_SET_TYPEMATIC. I8042prt synchronizes the actual write of data with the keyboard ISR.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

Parameters.DeviceIoControl.Type3InputBuffer points to a client-allocated buffer which inputs the data to write to an i8042 port controller.

Input Buffer Length

Parameters.DeviceIoControl.InputBufferLength is set to the number of bytes in the input buffer, which must be greater than one.

Output Buffer

None

Output Buffer Length

None

Status Block

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

Requirements

   
Header ntdd8042.h (include Ntdd8042.h)

See Also

IOCTL_KEYBOARD_SET_INDICATORS

IOCTL_KEYBOARD_SET_TYPEMATIC