Windows Driver Kit: Storage Devices
IOCTL_DISK_VERIFY
Operation
Performs a logical format of a specified extent on a disk.
Input
The buffer at Irp->AssociatedIrp.SystemBuffer contains the VERIFY_INFORMATION data specifying the starting offset and length to be verified. Parameters.DeviceIoControl.InputBufferLength indicates the size, in bytes, of the buffer, which must be >= sizeof(VERIFY_INFORMATION).
Output
None
I/O Status Block
The Information field is set to zero to prevent the I/O manager from copying data from SystemBuffer back into the user area.
If the request is successful, then the Status field is set to STATUS_SUCCESS. Otherwise, the Status field can be set to STATUS_BUFFER_TOO_SMALL, STATUS_INFO_LENGTH_MISMATCH, STATUS_INVALID_PARAMETER, STATUS_INSUFFICIENT_RESOURCES, STATUS_NONEXISTENT_SECTOR, STATUS_DEVICE_DATA_ERROR, STATUS_INVALID_DEVICE_REQUEST, STATUS_IO_TIMEOUT, or STATUS_DEVICE_NOT_CONNECTED.
Requirements
Headers: Defined in Ntdddisk.h. Include Ntdddisk.h.
See Also
VERIFY_INFORMATION