IOCTL_MOUSE_QUERY_ATTRIBUTES control code
The IOCTL_MOUSE_QUERY_ATTRIBUTES request returns information about the mouse attributes.
Parameters.DeviceIoControl.OutputBufferLength is set to a value greater than or equal to the size, in bytes, of a MOUSE_ATTRIBUTES structure.
AssociatedIrp.SystemBuffer points to a client-allocated output buffer that I8042prt uses to output a MOUSE_ATTRIBUTES structure.
If the request is successful, the Information member is set to the size, in bytes, of a MOUSE_ATTRIBUTES structure. Otherwise, the Information member is set to zero.
The Status member is set to one of the following values:
The request completed successfully.
Parameters.DeviceIoControl.OutputBufferLength is less than the size, in bytes, of a MOUSE_ATTRIBUTES structure.