ntoskrnl.exe: Implement IRP_MN_QUERY_DEVICE_RELATIONS 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:16 -06:00 committed by Alexandre Julliard
parent 481b099345
commit 74b98dc82b

View file

@ -821,6 +821,9 @@ static NTSTATUS WINAPI pnp_manager_device_pnp( DEVICE_OBJECT *device, IRP *irp )
switch (stack->MinorFunction)
{
case IRP_MN_QUERY_DEVICE_RELATIONS:
/* The FDO above already handled this, so return the same status. */
break;
case IRP_MN_START_DEVICE:
case IRP_MN_SURPRISE_REMOVAL:
case IRP_MN_REMOVE_DEVICE: