IRP_MN_DEVICE_ENUMERATED

The PnP manager uses this I/O request packet (IRP) to notify bus drivers that a device object exists and that it has been fully enumerated by the plug and play manager.

Value

0x19

Major Code

IRP_MJ_PNP

When Sent

The PnP manager sends this IRP just before user mode is notified with GUID_DEVICE_ENUMERATED. This IRP allows drivers to provide a preprocess routine for IRP_MN_DEVICE_ENUMERATED, such as filling in additional device properties. This IRP primarily allows drivers to set device properties for the physical device object (PDO) by using IoSetDevicePropertyData.

Input Parameters

None

Output Parameters

None

I/O Status Block

A driver that handles this IRP sets Irp->IoStatus.Status to STATUS_SUCCESS or an appropriate error status.

Operation

The IRP_MN_DEVICE_ENUMERATED IRP is sent to the bus driver's PDO to indicate that the bus driver PDO exists.

Sending the IRP

Reserved for system use. Drivers must not send this IRP.

Requirements

Version

Available in Windows 7 and later versions of Windows.

Header

Wdm.h

See also

Plug and Play Minor IRPs