The IRP_MJ_PNP request supports Plug and Play.
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.
Mouclass processes the following Plug and Play requests:
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.
|Ntddk.h (include Wdm.h, Ntddk.h, or Wdm.h)|