mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
Report STATUS_NOT_SUPPORTED when IOCTL is not supported
svn path=/trunk/; revision=30068
This commit is contained in:
parent
4885fbac2a
commit
fae0c09e4b
2 changed files with 2 additions and 6 deletions
|
@ -120,7 +120,7 @@ ClassDeviceControl(
|
|||
IN PIRP Irp)
|
||||
{
|
||||
PCLASS_DEVICE_EXTENSION DeviceExtension;
|
||||
NTSTATUS Status = Irp->IoStatus.Status;
|
||||
NTSTATUS Status = STATUS_NOT_SUPPORTED;
|
||||
|
||||
DPRINT("IRP_MJ_DEVICE_CONTROL\n");
|
||||
|
||||
|
@ -203,7 +203,6 @@ IrpStub(
|
|||
DPRINT1("Port DO stub for major function 0x%lx\n",
|
||||
IoGetCurrentIrpStackLocation(Irp)->MajorFunction);
|
||||
ASSERT(FALSE);
|
||||
Status = Irp->IoStatus.Status;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -212,7 +211,6 @@ IrpStub(
|
|||
DPRINT1("Class DO stub for major function 0x%lx\n",
|
||||
IoGetCurrentIrpStackLocation(Irp)->MajorFunction);
|
||||
ASSERT(FALSE);
|
||||
Status = Irp->IoStatus.Status;
|
||||
}
|
||||
|
||||
Irp->IoStatus.Status = Status;
|
||||
|
|
|
@ -120,7 +120,7 @@ ClassDeviceControl(
|
|||
IN PIRP Irp)
|
||||
{
|
||||
PCLASS_DEVICE_EXTENSION DeviceExtension;
|
||||
NTSTATUS Status = Irp->IoStatus.Status;
|
||||
NTSTATUS Status = STATUS_NOT_SUPPORTED;
|
||||
|
||||
DPRINT("IRP_MJ_DEVICE_CONTROL\n");
|
||||
|
||||
|
@ -180,7 +180,6 @@ IrpStub(
|
|||
DPRINT1("Port DO stub for major function 0x%lx\n",
|
||||
IoGetCurrentIrpStackLocation(Irp)->MajorFunction);
|
||||
ASSERT(FALSE);
|
||||
Status = Irp->IoStatus.Status;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -189,7 +188,6 @@ IrpStub(
|
|||
DPRINT1("Class DO stub for major function 0x%lx\n",
|
||||
IoGetCurrentIrpStackLocation(Irp)->MajorFunction);
|
||||
ASSERT(FALSE);
|
||||
Status = Irp->IoStatus.Status;
|
||||
}
|
||||
|
||||
Irp->IoStatus.Status = Status;
|
||||
|
|
Loading…
Reference in a new issue