DOC: Incorrect Status Value for Media Change Notification

ID: Q196557


The information in this article applies to:


SUMMARY

The Kernel-Mode Drivers Design Guide included with the Microsoft Windows NT DDK 4.0, Section 16.7 "Handling Removable Media," subsection "Responding to FS-Initiated Check-Verify Requests" states the following:

  1. Ensure that the volume is mounted by checking the VPB_MOUNTED flag in the VPB. (If the volume is not mounted, the driver must not set the DO_VERIFY_VOLUME bit. The driver should set IoStatus.Status to STATUS_VERIFY_REQUIRED, set IoStatus.Information to zero, and call IoCompleteRequest with the IRP.)


This section incorrectly states that if the volume is not mounted, then the driver should set IoStatus.Status to STATUS_VERIFY_REQUIRED. The correct statement is that if the volume is not mounted, the driver should set IoStatus.Status to STATUS_IO_DEVICE_ERROR.


REFERENCES

Please see the Windows NT Device Driver Kit for additional information on supporting removable media.


Keywords          : kbdocerr kbDDK kbNTOS400 kbStorageDev 
Version           : WINNT:4.0
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: March 6, 1999