Microsoft KB Archive/196557

{|
 * width="100%"|

DOC: Incorrect Status Value for Media Change Notification

 * }

Q196557

-

The information in this article applies to:


 * Microsoft Win32 Device Driver Kit (DDK) for Windows NT, version 4.0

-

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.