mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:12:56 +00:00
- Improve videoprt's debug messages when accessing registry parameters.
svn path=/trunk/; revision=28975
This commit is contained in:
parent
4c33a58449
commit
19b92eb8ab
1 changed files with 8 additions and 5 deletions
|
@ -855,10 +855,11 @@ VideoPortGetRegistryParameters(
|
||||||
QUERY_REGISTRY_CALLBACK_CONTEXT Context;
|
QUERY_REGISTRY_CALLBACK_CONTEXT Context;
|
||||||
PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
|
PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
|
||||||
|
|
||||||
DPRINT("VideoPortGetRegistryParameters ParameterName %S\n", ParameterName);
|
|
||||||
|
|
||||||
DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension);
|
DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension);
|
||||||
|
|
||||||
|
DPRINT("VideoPortGetRegistryParameters ParameterName %S, RegPath: %wZ\n",
|
||||||
|
ParameterName, &DeviceExtension->RegistryPath);
|
||||||
|
|
||||||
Context.HwDeviceExtension = HwDeviceExtension;
|
Context.HwDeviceExtension = HwDeviceExtension;
|
||||||
Context.HwContext = HwContext;
|
Context.HwContext = HwContext;
|
||||||
Context.HwGetRegistryRoutine = GetRegistryRoutine;
|
Context.HwGetRegistryRoutine = GetRegistryRoutine;
|
||||||
|
@ -874,7 +875,7 @@ VideoPortGetRegistryParameters(
|
||||||
&Context,
|
&Context,
|
||||||
NULL)))
|
NULL)))
|
||||||
{
|
{
|
||||||
DPRINT("VideoPortGetRegistryParameters could not find the "
|
DPRINT1("VideoPortGetRegistryParameters could not find the "
|
||||||
"requested parameter\n");
|
"requested parameter\n");
|
||||||
return ERROR_INVALID_PARAMETER;
|
return ERROR_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
@ -901,7 +902,9 @@ VideoPortSetRegistryParameters(
|
||||||
{
|
{
|
||||||
VP_STATUS Status;
|
VP_STATUS Status;
|
||||||
|
|
||||||
DPRINT("VideoPortSetRegistryParameters ParameterName %S\n", ValueName);
|
DPRINT("VideoPortSetRegistryParameters ParameterName %S, RegPath: %wZ\n",
|
||||||
|
ValueName,
|
||||||
|
&VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension)->RegistryPath);
|
||||||
ASSERT_IRQL(PASSIVE_LEVEL);
|
ASSERT_IRQL(PASSIVE_LEVEL);
|
||||||
Status = RtlWriteRegistryValue(
|
Status = RtlWriteRegistryValue(
|
||||||
RTL_REGISTRY_ABSOLUTE,
|
RTL_REGISTRY_ABSOLUTE,
|
||||||
|
@ -912,7 +915,7 @@ VideoPortSetRegistryParameters(
|
||||||
ValueLength);
|
ValueLength);
|
||||||
|
|
||||||
if (Status != ERROR_SUCCESS)
|
if (Status != ERROR_SUCCESS)
|
||||||
DPRINT("VideoPortSetRegistryParameters error 0x%x\n", Status);
|
DPRINT1("VideoPortSetRegistryParameters error 0x%x\n", Status);
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue