Handling Stop IRPs (Windows 98/Me)
On Windows 98/Me, the PnP manager can send stop IRPs for the following reasons:
To pause the device while rebalancing resources
To stop the device when Device Manager disables it
To stop the device after a failed IRP_MN_START_DEVICE request
A driver cannot determine from the IRP why it was sent. Consequently, WDM drivers that run on Windows 98/Me must handle all stop IRPs as if the device were being disabled. In short, this means that such drivers fail incoming I/O requests rather than queuing them (as on Windows 2000 and later).
The following topics provide step-by-step details on handling each of the stop IRPs: