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:
Zebediah Figura 2021-04-09 00:17:38 -05:00 committed by Alexandre Julliard
parent dbc5633f30
commit afce9f2c33
1 changed files with 2 additions and 0 deletions

View File

@ -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;