IOCTL_STORAGE_CHECK_VERIFY2 IOCTL (ntddstor.h)

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

Requirement Value
Header ntddstor.h (include Ntddstor.h)

See also

IOCTL_STORAGE_CHECK_VERIFY