- Add more debug prints in failure cases.

svn path=/trunk/; revision=30172
This commit is contained in:
Aleksey Bragin 2007-11-05 13:06:53 +00:00
parent fffed3ea73
commit 8bf9fc912d

View file

@ -1097,7 +1097,10 @@ CreatePortConfig:
FirstConfigCall);
if (!NT_SUCCESS(Status))
{
DPRINT1("SpiCreatePortConfig() failed with Status 0x%08X\n", Status);
break;
}
/* Allocate and initialize port configuration info */
PortConfigSize = (sizeof(PORT_CONFIGURATION_INFORMATION) +
@ -5600,9 +5603,14 @@ TryNextAd:
else
{
/* Info was not found, exit */
DPRINT1("ZwOpenKey() failed with Status=0x%08X\n", Status);
return STATUS_DEVICE_DOES_NOT_EXIST;
}
}
else
{
DPRINT1("ZwOpenKey() failed with Status=0x%08X\n", Status);
}
}
/* Look at device params */