Share via


IRP_MJ_DEVICE_CONTROL (Mouclass)

The IRP_MJ_DEVICE_CONTROL request operates a mouse device.

When Sent

The Microsoft Win32 subsystem sends device control requests to operate a mouse device.

Input Parameters

Request-specific.

Output Parameters

Request-specific.

I/O Status Block

Request-specific.

Operation

Mouclass supports the following major device control request:

IOCTL_MOUSE_QUERY_ATTRIBUTES

For most other device control requests, Mouclass skips the current IRP stack location and sends the request down the device stack to be completed by a lower-level driver. If Mouclass does not support the request, Mouclass completes the request with a status of STATUS_INVALID_DEVICE_REQUEST.

For more information about device control requests, see Mouclass Device Control Requests.

Requirements

Header

Ntddk.h (include Wdm.h, Ntddk.h, or Wdm.h)

See also

IOCTL_MOUSE_QUERY_ATTRIBUTES

IRP_MJ_DEVICE_CONTROL

 

 

Send comments about this topic to Microsoft