mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[DESK]
- Add Device Description Registry value in Display Class Installer. svn path=/trunk/; revision=62030
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user