mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:53:02 +00:00
Add a little more DPRINTs, they will save some debuggin-time (silent quitting in case of error isn't a good thing to do).
svn path=/trunk/; revision=19962
This commit is contained in:
parent
6e977a8fa8
commit
26d7ea3aa9
1 changed files with 5 additions and 0 deletions
|
@ -449,6 +449,8 @@ IoOpenDeviceRegistryKey(IN PDEVICE_OBJECT DeviceObject,
|
||||||
PDEVICE_NODE DeviceNode = NULL;
|
PDEVICE_NODE DeviceNode = NULL;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
|
DPRINT("IoOpenDeviceRegistryKey() called\n");
|
||||||
|
|
||||||
if ((DevInstKeyType & (PLUGPLAY_REGKEY_DEVICE | PLUGPLAY_REGKEY_DRIVER)) == 0)
|
if ((DevInstKeyType & (PLUGPLAY_REGKEY_DEVICE | PLUGPLAY_REGKEY_DRIVER)) == 0)
|
||||||
return STATUS_INVALID_PARAMETER;
|
return STATUS_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
@ -539,7 +541,10 @@ IoOpenDeviceRegistryKey(IN PDEVICE_OBJECT DeviceObject,
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ((DevInstKeyType & PLUGPLAY_REGKEY_DRIVER) || !NT_SUCCESS(Status))
|
if ((DevInstKeyType & PLUGPLAY_REGKEY_DRIVER) || !NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
|
DPRINT1("IoOpenDeviceRegistryKey(): Base key doesn't exist, exiting...\n");
|
||||||
return Status;
|
return Status;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Let's go further. For device key we must open "Device Parameters"
|
* Let's go further. For device key we must open "Device Parameters"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue