ntoskrnl.exe: Stub IRP_MN_QUERY_CAPABILITIES for root-enumerated devices.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-11-06 00:13:15 -06:00 committed by Alexandre Julliard
parent c4ec69adce
commit 481b099345
1 changed files with 3 additions and 0 deletions

View File

@ -827,6 +827,9 @@ static NTSTATUS WINAPI pnp_manager_device_pnp( DEVICE_OBJECT *device, IRP *irp )
/* Nothing to do. */
irp->IoStatus.u.Status = STATUS_SUCCESS;
break;
case IRP_MN_QUERY_CAPABILITIES:
irp->IoStatus.u.Status = STATUS_SUCCESS;
break;
case IRP_MN_QUERY_ID:
{
BUS_QUERY_ID_TYPE type = stack->Parameters.QueryId.IdType;