IOCTL_INTERNAL_I8042_MOUSE_WRITE_BUFFER control code

The IOCTL_INTERNAL_I8042_MOUSE_WRITE_BUFFER request writes data to the i8042 port controller to control operation of a mouse device. An upper-level filter driver can use this request to control the operation of a mouse.

I8042prt synchronizes write buffer requests with one another. I8042prt synchronizes the actual write of data with the mouse ISR.

Input Parameters

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

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

Output Parameters

None

I/O Status Block

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

STATUS_SUCCESS

The request completed successfully.

STATUS_DEVICE_NOT_READY

The mouse interrupt is not initialized.

STATUS_INVALID_PARAMETER

The input parameters are not valid.

STATUS_IO_TIMEOUT

The request timed out.

Requirements

Header

Ntdd8042.h (include Ntdd8042.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft