Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.39 KB

File metadata and controls

54 lines (33 loc) · 1.39 KB
title description ms.date ms.topic keywords
IRP_MJ_PNP
All drivers must be prepared to service IRP_MJ_PNP requests in a DispatchPnP routine.
08/12/2017
reference
IRP_MJ_PNP Kernel-Mode Driver Architecture

IRP_MJ_PNP

All drivers must be prepared to service IRP_MJ_PNP requests in a DispatchPnP routine.

When Sent

The PnP manager sends IRP_MJ_PNP requests during enumeration, resource rebalancing, and any other time Plug and Play activity occurs on the system. Drivers can also send certain IRP_MJ_PNP requests, depending on the minor function code.

Input Parameters

Depends on the value at MinorFunction in the current I/O stack location of the IRP. Every IRP_MJ_PNP request specifies a minor function code that identifies the requested PnP action.

Output Parameters

Depends on the value at MinorFunction in the current I/O stack location of the IRP.

Operation

See Plug and Play Minor IRPs for detailed information about IRP_MJ_PNP requests.

Requirements

Header

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

See also

DispatchPnP