Stopping a Device
The PnP manager directs drivers to stop a device in the following situations:
To rebalance the hardware resources being used by the device. Rebalancing is typically necessary when a new device is enumerated that requires a resource already in use.
To disable the device in response to a Device Manager request (Windows 98/Me only). Windows 2000 and later versions of Windows send remove IRPs in this situation; see Understanding When Remove IRPs Are Issued.
After a failed IRP_MN_START_DEVICE request (Windows 98/Me only)
This section covers the following topics: