Commit 93ed8a06 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

kernel32: Add support for IOCTL_STORAGE_CHECK_VERIFY2.

parent d53dc011
...@@ -182,6 +182,7 @@ X(IOCTL_SCSI_GET_INQUIRY_DATA) ...@@ -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, ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment