kernel32: Add support for IOCTL_STORAGE_CHECK_VERIFY2.
This commit is contained in:
parent
d53dc01143
commit
93ed8a062d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue