Author: fireball
Date: Mon Jul 10 17:10:22 2006
New Revision: 22994
URL:
http://svn.reactos.org/svn/reactos?rev=22994&view=rev
Log:
Add DPRINT1s for failures, and added UNIMPLEMENTED macro in the unimplemented export
function
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c Mon Jul 10 17:10:22 2006
@@ -454,6 +454,7 @@
STDCALL
IoInvalidateDeviceState(IN PDEVICE_OBJECT PhysicalDeviceObject)
{
+ UNIMPLEMENTED;
}
/**
@@ -496,7 +497,10 @@
DPRINT("IoOpenDeviceRegistryKey() called\n");
if ((DevInstKeyType & (PLUGPLAY_REGKEY_DEVICE | PLUGPLAY_REGKEY_DRIVER)) == 0)
- return STATUS_INVALID_PARAMETER;
+ {
+ DPRINT1("IoOpenDeviceRegistryKey(): got wrong params, exiting... \n");
+ return STATUS_INVALID_PARAMETER;
+ }
/*
* Calculate the length of the base key name. This is the full
@@ -554,6 +558,7 @@
&DriverKeyLength);
if (!NT_SUCCESS(Status))
{
+ DPRINT1("Call to IoGetDeviceProperty() failed with Status 0x%08lx\n",
Status);
ExFreePool(KeyNameBuffer);
return Status;
}
@@ -614,7 +619,7 @@
STDCALL
IoRequestDeviceEject(IN PDEVICE_OBJECT PhysicalDeviceObject)
{
- UNIMPLEMENTED;
+ UNIMPLEMENTED;
}