Zebediah Figura : ntoskrnl.exe: Implement IRP_MN_QUERY_DEVICE_RELATIONS for root-enumerated devices.
Alexandre Julliard
julliard at winehq.org
Wed Nov 6 16:54:29 CST 2019
Module: wine
Branch: master
Commit: 74b98dc82b66e0bf4db50a0c4ccb376a2bc441ae
URL: https://source.winehq.org/git/wine.git/?a=commit;h=74b98dc82b66e0bf4db50a0c4ccb376a2bc441ae
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Wed Nov 6 00:13:16 2019 -0600
ntoskrnl.exe: Implement IRP_MN_QUERY_DEVICE_RELATIONS for root-enumerated devices.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 b5c4e6878e..89676a06ad 100644
--- a/dlls/ntoskrnl.exe/pnp.c
+++ b/dlls/ntoskrnl.exe/pnp.c
@@ -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:
More information about the wine-cvs
mailing list