- Improve debug output

svn path=/trunk/; revision=25133
This commit is contained in:
Aleksey Bragin 2006-12-12 19:08:32 +00:00
parent 5c0d1ea97a
commit 0d5961e9e4

View file

@ -854,7 +854,11 @@ VideoPortGetRegistryParameters(
QueryTable,
&Context,
NULL)))
{
DPRINT("VideoPortGetRegistryParameters could not find the "
"requested parameter\n");
return ERROR_INVALID_PARAMETER;
}
if (IsParameterFileName)
{
@ -876,15 +880,22 @@ VideoPortSetRegistryParameters(
IN PVOID ValueData,
IN ULONG ValueLength)
{
DPRINT("VideoPortSetRegistryParameters\n");
VP_STATUS Status;
DPRINT("VideoPortSetRegistryParameters ParameterName %S\n", ValueName);
ASSERT_IRQL(PASSIVE_LEVEL);
return RtlWriteRegistryValue(
Status = RtlWriteRegistryValue(
RTL_REGISTRY_ABSOLUTE,
VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension)->RegistryPath.Buffer,
ValueName,
REG_BINARY,
ValueData,
ValueLength);
if (Status != ERROR_SUCCESS)
DPRINT("VideoPortSetRegistryParameters error 0x%x\n", Status);
return Status;
}
/*