Author: fireball
Date: Tue Dec 12 22:08:32 2006
New Revision: 25133
URL:
http://svn.reactos.org/svn/reactos?rev=25133&view=rev
Log:
- Improve debug output
Modified:
trunk/reactos/drivers/video/videoprt/videoprt.c
Modified: trunk/reactos/drivers/video/videoprt/videoprt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/vid…
==============================================================================
--- trunk/reactos/drivers/video/videoprt/videoprt.c (original)
+++ trunk/reactos/drivers/video/videoprt/videoprt.c Tue Dec 12 22:08:32 2006
@@ -854,7 +854,11 @@
QueryTable,
&Context,
NULL)))
+ {
+ DPRINT("VideoPortGetRegistryParameters could not find the "
+ "requested parameter\n");
return ERROR_INVALID_PARAMETER;
+ }
if (IsParameterFileName)
{
@@ -876,15 +880,22 @@
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;
}
/*