The IoVerifyVolume routine sends a volume verify request to the given removable-media device.
NTSTATUS IoVerifyVolume( _In_ PDEVICE_OBJECT DeviceObject, _In_ BOOLEAN AllowRawMount );
Pointer to the device object for the device on which the volume is to be verified.
Set to TRUE if this verify request is being issued on behalf of a DASD open request and a raw mount should be performed if the verify request fails.
IoVerifyVolume can return one of the following NTSTATUS values:
IoVerifyVolume sends a volume verify request to the given removable-media device.
If the verify operation fails, the I/O Manager sends a volume mount request to the device.
Before using IoSetDeviceToVerify and IoVerifyVolume, driver writers are strongly encouraged to study the way these routines are used in the FASTFAT sample.
For more information about removable-media devices, see Supporting Removable Media.
|Header||ntifs.h (include Ntifs.h)|