IRP_MJ_CREATE (I8042prt Mouse)

The IRP_MJ_CREATE request opens an i8042 port mouse device.

When Sent

The Win32 subsystem uses an IRP_MJ_CREATE request to open an i8042 port mouse device for its exclusive use.

Input Parameters

None

Output Parameters

None

I/O Status Block

The Information member is set to zero.

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

STATUS_SUCCESS

The device was successfully opened.

STATUS_INVALID_DEVICE_STATE

The Mouclass service is not connected.

STATUS_NO_SUCH_DEVICE

The device is not present.

Operation

Mouclass uses an IOCTL_INTERNAL_MOUSE_CONNECT request to connect to a mouse device before Mouclass can open the device. The mouse device is an exclusive device, there can be only one connection to the device at the same time.

Requirements

Header

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

See also

IRP_MJ_CREATE

 

 

Send comments about this topic to Microsoft

Show: