mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 17:40:58 +00:00
- Don't complete unimplemented IOCTL_DISK_FORMAT_TRACKS/IOCTL_DISK_FORMAT_TRACKS_EX with STATUS_SUCCESS
- Floppy drivers don't need to support IOCTL_DISK_GET_PARTITION_INFO so complete the irp with STATUS_INVALID_DEVICE_REQUEST svn path=/trunk/; revision=37265
This commit is contained in:
parent
7ad74fb236
commit
e570a2c8de
|
@ -250,11 +250,13 @@ VOID NTAPI DeviceIoctlPassive(PDRIVE_INFO DriveInfo,
|
|||
case IOCTL_DISK_FORMAT_TRACKS:
|
||||
case IOCTL_DISK_FORMAT_TRACKS_EX:
|
||||
ERR_(FLOPPY, "Format called; not supported yet\n");
|
||||
Irp->IoStatus.Status = STATUS_NOT_IMPLEMENTED;
|
||||
Irp->IoStatus.Information = 0;
|
||||
break;
|
||||
|
||||
case IOCTL_DISK_GET_PARTITION_INFO:
|
||||
INFO_(FLOPPY, "IOCTL_DISK_GET_PARTITION_INFO Called; not supported\n");
|
||||
Irp->IoStatus.Status = STATUS_NOT_SUPPORTED;
|
||||
INFO_(FLOPPY, "IOCTL_DISK_GET_PARTITION_INFO Called; not supported by a floppy driver\n");
|
||||
Irp->IoStatus.Status = STATUS_INVALID_DEVICE_REQUEST;
|
||||
Irp->IoStatus.Information = 0;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue