Table of contents
TOC
Collapse the table of content
Expand the table of content

Plug and Play Manager

Last Updated: 4/22/2017

The Plug and Play (PnP) manager provides the support for PnP functionality in Windows and is responsible for the following PnP-related tasks:

  • Device detection and enumeration while the system is booting

  • Adding or removing devices while the system is running

The kernel-mode PnP manager notifies the user-mode PnP manager that a new device is present on the system and must be installed.

The kernel-mode PnP manager also calls the DriverEntry and AddDevice routines of a device's driver and sends the IRP_MN_START_DEVICE request to start the device.

The PnP manager maintains the Device Tree that keeps track of the devices in the system. The device tree contains information about the devices present on the system. When the computer starts, the PnP manager builds this tree by using information from drivers and other components, and updates the tree as devices are added or removed.

© 2017 Microsoft