Author: jgardou
Date: Fri Feb 7 23:36:02 2014
New Revision: 62030
URL:
http://svn.reactos.org/svn/reactos?rev=62030&view=rev
Log:
[DESK]
- Add Device Description Registry value in Display Class Installer.
Modified:
trunk/reactos/dll/cpl/desk/classinst.c
Modified: trunk/reactos/dll/cpl/desk/classinst.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/classinst.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/desk/classinst.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/classinst.c [iso-8859-1] Fri Feb 7 23:36:02 2014
@@ -211,6 +211,15 @@
DPRINT("SetupInstallFromInfSection() failed with error 0x%lx\n", rc);
goto cleanup;
}
+ /* Add Device Description string */
+ rc = RegSetValueEx(hDeviceSubKey, _T("Device Description"), 0,
+ REG_SZ, (const BYTE*)DriverInfoData.Description,
+ (_tcslen(DriverInfoData.Description) + 1) * sizeof(TCHAR));
+ if (rc != ERROR_SUCCESS)
+ {
+ DPRINT("RegSetValueEx() failed with error 0x%lx\n", rc);
+ goto cleanup;
+ }
/* FIXME: install OpenGLSoftwareSettings section */