Author: fireball Date: Sun Sep 9 16:39:11 2007 New Revision: 28975
URL: http://svn.reactos.org/svn/reactos?rev=28975&view=rev Log: - Improve videoprt's debug messages when accessing registry parameters.
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/vide... ============================================================================== --- trunk/reactos/drivers/video/videoprt/videoprt.c (original) +++ trunk/reactos/drivers/video/videoprt/videoprt.c Sun Sep 9 16:39:11 2007 @@ -855,9 +855,10 @@ QUERY_REGISTRY_CALLBACK_CONTEXT Context; PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
- DPRINT("VideoPortGetRegistryParameters ParameterName %S\n", ParameterName); - DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension); + + DPRINT("VideoPortGetRegistryParameters ParameterName %S, RegPath: %wZ\n", + ParameterName, &DeviceExtension->RegistryPath);
Context.HwDeviceExtension = HwDeviceExtension; Context.HwContext = HwContext; @@ -874,7 +875,7 @@ &Context, NULL))) { - DPRINT("VideoPortGetRegistryParameters could not find the " + DPRINT1("VideoPortGetRegistryParameters could not find the " "requested parameter\n"); return ERROR_INVALID_PARAMETER; } @@ -901,7 +902,9 @@ { 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); Status = RtlWriteRegistryValue( RTL_REGISTRY_ABSOLUTE, @@ -912,7 +915,7 @@ ValueLength);
if (Status != ERROR_SUCCESS) - DPRINT("VideoPortSetRegistryParameters error 0x%x\n", Status); + DPRINT1("VideoPortSetRegistryParameters error 0x%x\n", Status);
return Status; }