winebus.sys: Return success from IRP_MN_QUERY_CAPABILITIES.

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-02-11 18:56:46 -06:00 committed by Alexandre Julliard
parent b922b5aeef
commit dece98fb59
1 changed files with 2 additions and 1 deletions

View File

@ -600,16 +600,17 @@ static NTSTATUS pdo_pnp_dispatch(DEVICE_OBJECT *device, IRP *irp)
case IRP_MN_QUERY_ID: case IRP_MN_QUERY_ID:
TRACE("IRP_MN_QUERY_ID\n"); TRACE("IRP_MN_QUERY_ID\n");
status = handle_IRP_MN_QUERY_ID(device, irp); status = handle_IRP_MN_QUERY_ID(device, irp);
irp->IoStatus.u.Status = status;
break; break;
case IRP_MN_QUERY_CAPABILITIES: case IRP_MN_QUERY_CAPABILITIES:
TRACE("IRP_MN_QUERY_CAPABILITIES\n"); TRACE("IRP_MN_QUERY_CAPABILITIES\n");
status = STATUS_SUCCESS;
break; break;
default: default:
FIXME("Unhandled function %08x\n", irpsp->MinorFunction); FIXME("Unhandled function %08x\n", irpsp->MinorFunction);
break; break;
} }
irp->IoStatus.u.Status = status;
IoCompleteRequest(irp, IO_NO_INCREMENT); IoCompleteRequest(irp, IO_NO_INCREMENT);
return status; return status;
} }