mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[DESK]
- Add Device Description Registry value in Display Class Installer. svn path=/trunk/; revision=62030
This commit is contained in:
parent
4f5c53dfe7
commit
8fa4d7684a
1 changed files with 9 additions and 0 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue