Partager via


IRP_MJ_PNP (Mouclass)

The IRP_MJ_PNP request supports Plug and Play.

When Sent

The Plug and Play manager sends IRP_MJ_PNP requests to control the Plug and Play operation of a mouse.

Input Parameters

Request-specific.

Output Parameters

Request-specific.

I/O Status Block

During Normal operation, the status block values are request-specific. If a Plug and Play request is sent in error to a legacy device, Mouclass completes the request with a status of STATUS_NOT_SUPPORTED.

Operation

Mouclass processes the following Plug and Play requests:

IRP_MN_REMOVE_DEVICE

IRP_MN_START_DEVICE

IRP_MN_STOP_DEVICE

For all other Plug and Play requests, Mouclass copies the current IRP stack location and sends the request down the device stack without further processing.

For more information about the generic operation of these requests, see Plug and Play.

Requirements

Header

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

See also

IRP_MJ_PNP

 

 

Send comments about this topic to Microsoft