PRB: SCSI Miniport Driver Never Receives SRB_FUNCTION_SHUTDOWN

ID: Q194639

The information in this article applies to:

SYMPTOMS

A SCSI miniport driver might not receive SRB_FUNCTION_SHUTDOWN, which is used to indicate that Windows 95 is shutting down.

CAUSE

Under specific circumstances, Configuration Manager removes the SCSI miniport driver before IOS can notify SCSIPORT to issue SRB_FUNCTION_SHUTDOWN to the SCSI miniport driver. This occurs if BOTH of the following are true:

RESOLUTION

Set the CONFIGFLAG_NOREMOVEEXIT bit flag (this flag value is defined in regstr.h). The following text, when included in your .inf file, will accomplish this:

   [drivername.hw]
   AddReg=driverhw

   [driverhw]
   HKR,,ConfigFlags,1,00,02,00,00

Implementing this will allow the miniport driver to see SRB_FUNCTION_SHUTDOWN.

STATUS

This behavior is by design.

Additional query words: SCSI miniport shutdown

Keywords          : kbDDK kbStorageDev kbWinOS95 
Issue type        : kbprb

Last Reviewed: October 22, 1998