[ros-diffs] [gbrunmar] 30986: Added registry key for video devices that exists in Windows

gbrunmar at svn.reactos.org gbrunmar at svn.reactos.org
Mon Dec 3 19:39:14 CET 2007


Author: gbrunmar
Date: Mon Dec  3 21:39:13 2007
New Revision: 30986

URL: http://svn.reactos.org/svn/reactos?rev=30986&view=rev
Log:
Added registry key for video devices that exists in Windows

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=30986&r1=30985&r2=30986&view=diff
==============================================================================
--- trunk/reactos/drivers/video/videoprt/videoprt.c (original)
+++ trunk/reactos/drivers/video/videoprt/videoprt.c Mon Dec  3 21:39:13 2007
@@ -473,6 +473,14 @@
       REG_SZ,
       DeviceExtension->RegistryPath.Buffer,
       DeviceExtension->RegistryPath.MaximumLength);
+
+   RtlWriteRegistryValue(
+       RTL_REGISTRY_DEVICEMAP,
+       L"VIDEO",
+       L"MaxObjectNumber",
+       REG_DWORD,
+       &DeviceNumber,
+       sizeof(DeviceNumber));
 
    /* FIXME: Allocate hardware resources for device. */
 




More information about the Ros-diffs mailing list