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/vid…
==============================================================================
--- 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. */