ntoskrnl/tests: Properly support device removal.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
dbc5633f30
commit
afce9f2c33
|
@ -50,6 +50,8 @@ static NTSTATUS fdo_pnp(IRP *irp)
|
|||
break;
|
||||
|
||||
case IRP_MN_SURPRISE_REMOVAL:
|
||||
case IRP_MN_QUERY_REMOVE_DEVICE:
|
||||
case IRP_MN_STOP_DEVICE:
|
||||
irp->IoStatus.Status = STATUS_SUCCESS;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue