DOC: Incorrect Status Value for Media Change Notification

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 kbOSWinNT400 kbStorageDev
Issue type : kbbug
Technology : kbAudDeveloper kbWinDDKSearch kbWin32sSearch kbWin32DDKSearch kbWin32DDKNT400 kbWin32DDKNTSearch


Last Reviewed: March 8, 1999
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.