- Add Device Description Registry value in Display Class Installer.

svn path=/trunk/; revision=62030
This commit is contained in:
Jérôme Gardou 2014-02-07 23:36:02 +00:00
parent 4f5c53dfe7
commit 8fa4d7684a

View file

@ -211,6 +211,15 @@ DisplayClassInstaller(
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 */