[ros-diffs] [fireball] 55183: [VIDEOPRT] - Create DEVICEMAP\VIDEO key with proper length. Fixes a bug exposed as "Arwinss unable to change resolution". See issue #6838 for more details.

fireball at svn.reactos.org fireball at svn.reactos.org
Wed Jan 25 20:20:04 UTC 2012


Author: fireball
Date: Wed Jan 25 20:20:04 2012
New Revision: 55183

URL: http://svn.reactos.org/svn/reactos?rev=55183&view=rev
Log:
[VIDEOPRT]
- Create DEVICEMAP\VIDEO key with proper length. Fixes a bug exposed as "Arwinss unable to change resolution".
See issue #6838 for more details.

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/videoprt.c?rev=55183&r1=55182&r2=55183&view=diff
==============================================================================
--- trunk/reactos/drivers/video/videoprt/videoprt.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/videoprt/videoprt.c [iso-8859-1] Wed Jan 25 20:20:04 2012
@@ -492,7 +492,7 @@
       DeviceVideoBuffer,
       REG_SZ,
       DeviceExtension->RegistryPath.Buffer,
-      DeviceExtension->RegistryPath.MaximumLength);
+      DeviceExtension->RegistryPath.Length);
 
    RtlWriteRegistryValue(
        RTL_REGISTRY_DEVICEMAP,




More information about the Ros-diffs mailing list