kernel32: Add support for IOCTL_STORAGE_CHECK_VERIFY2.

This commit is contained in:
Austin English 2012-02-07 11:42:42 -08:00 committed by Alexandre Julliard
parent d53dc01143
commit 93ed8a062d
1 changed files with 3 additions and 1 deletions

View File

@ -182,6 +182,7 @@ X(IOCTL_SCSI_GET_INQUIRY_DATA)
X(IOCTL_SCSI_PASS_THROUGH) X(IOCTL_SCSI_PASS_THROUGH)
X(IOCTL_SCSI_PASS_THROUGH_DIRECT) X(IOCTL_SCSI_PASS_THROUGH_DIRECT)
X(IOCTL_STORAGE_CHECK_VERIFY) X(IOCTL_STORAGE_CHECK_VERIFY)
X(IOCTL_STORAGE_CHECK_VERIFY2)
X(IOCTL_STORAGE_EJECTION_CONTROL) X(IOCTL_STORAGE_EJECTION_CONTROL)
X(IOCTL_STORAGE_EJECT_MEDIA) X(IOCTL_STORAGE_EJECT_MEDIA)
X(IOCTL_STORAGE_GET_DEVICE_NUMBER) X(IOCTL_STORAGE_GET_DEVICE_NUMBER)
@ -2857,9 +2858,10 @@ NTSTATUS CDROM_DeviceIoControl(HANDLE hDevice,
switch (dwIoControlCode) switch (dwIoControlCode)
{ {
case IOCTL_STORAGE_CHECK_VERIFY:
case IOCTL_CDROM_CHECK_VERIFY: case IOCTL_CDROM_CHECK_VERIFY:
case IOCTL_DISK_CHECK_VERIFY: case IOCTL_DISK_CHECK_VERIFY:
case IOCTL_STORAGE_CHECK_VERIFY:
case IOCTL_STORAGE_CHECK_VERIFY2:
sz = 0; sz = 0;
CDROM_ClearCacheEntry(dev); CDROM_ClearCacheEntry(dev);
if (lpInBuffer != NULL || nInBufferSize != 0 || lpOutBuffer != NULL || nOutBufferSize != 0) if (lpInBuffer != NULL || nInBufferSize != 0 || lpOutBuffer != NULL || nOutBufferSize != 0)