[PATCH 3/4] ntoskrnl.exe: Implement IRP_MN_QUERY_DEVICE_RELATIONS for root-enumerated devices.
Zebediah Figura
z.figura12 at gmail.com
Wed Nov 6 00:13:16 CST 2019
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/ntoskrnl.exe/pnp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/ntoskrnl.exe/pnp.c b/dlls/ntoskrnl.exe/pnp.c
index fd9dfe5ed6..0e0471a446 100644
--- a/dlls/ntoskrnl.exe/pnp.c
+++ b/dlls/ntoskrnl.exe/pnp.c
@@ -928,6 +928,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:
--
2.23.0
More information about the wine-devel
mailing list