[ros-diffs] [fireball] 19962: Add a little more DPRINTs,
they will save some debuggin-time (silent quitting in
case of error isn't a good thing to do).
fireball at svn.reactos.com
fireball at svn.reactos.com
Thu Dec 8 10:51:31 CET 2005
Add a little more DPRINTs, they will save some debuggin-time (silent
quitting in case of error isn't a good thing to do).
Modified: trunk/reactos/ntoskrnl/io/pnpmgr.c
_____
Modified: trunk/reactos/ntoskrnl/io/pnpmgr.c
--- trunk/reactos/ntoskrnl/io/pnpmgr.c 2005-12-08 01:54:43 UTC (rev
19961)
+++ trunk/reactos/ntoskrnl/io/pnpmgr.c 2005-12-08 09:51:24 UTC (rev
19962)
@@ -449,6 +449,8 @@
PDEVICE_NODE DeviceNode = NULL;
NTSTATUS Status;
+ DPRINT("IoOpenDeviceRegistryKey() called\n");
+
if ((DevInstKeyType & (PLUGPLAY_REGKEY_DEVICE |
PLUGPLAY_REGKEY_DRIVER)) == 0)
return STATUS_INVALID_PARAMETER;
@@ -539,7 +541,10 @@
*/
if ((DevInstKeyType & PLUGPLAY_REGKEY_DRIVER) ||
!NT_SUCCESS(Status))
+ {
+ DPRINT1("IoOpenDeviceRegistryKey(): Base key doesn't exist,
exiting...\n");
return Status;
+ }
/*
* Let's go further. For device key we must open "Device Parameters"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051208/44ba011e/attachment.html
More information about the Ros-diffs
mailing list