IOCTL_STORAGE_CHECK_VERIFY2 IOCTL

Determines whether the media has changed on a removable-media device - the caller has opened with FILE_READ_ATTRIBUTES. Because no file system is mounted when a device is opened in this way, this request can be processed much more quickly than an IOCTL_STORAGE_CHECK_VERIFY request.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

Input is identical to the input for IOCTL_STORAGE_CHECK_VERIFY.

Input Buffer Length

Input length is identical to input length for IOCTL_STORAGE_CHECK_VERIFY.

Output Buffer

Output is identical to the output for IOCTL_STORAGE_CHECK_VERIFY.

Output Buffer Length

Output length is identical to output length for IOCTL_STORAGE_CHECK_VERIFY.

Status Block

I/O status is identical to the I/O status for IOCTL_STORAGE_CHECK_VERIFY.

Requirements

   
Header ntddstor.h (include Ntddstor.h)

See Also

IOCTL_STORAGE_CHECK_VERIFY