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 systems 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:
Stopping a Device to Rebalance Resources
Stopping a Device to Disable It (Windows 98/Me)
Stopping a Device after a Failed Start (Windows 98/Me)
Handling Stop IRPs (Windows 2000 and Later)
Handling Stop IRPs (Windows 98/Me)