mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 20:36:35 +00:00
[SETUPAPI]
- Store device settings in the "Device Parameters" key, as the kernel now does it too - Fixes display of AC97 device in audio cpl svn path=/trunk/; revision=47084
This commit is contained in:
parent
91e196a64f
commit
dc3a34f70b
1 changed files with 7 additions and 1 deletions
|
@ -399,7 +399,13 @@ InstallOneInterface(
|
||||||
HeapFree(GetProcessHeap(), 0, Path);
|
HeapFree(GetProcessHeap(), 0, Path);
|
||||||
}
|
}
|
||||||
|
|
||||||
return SetupInstallFromInfSectionW(NULL, /* FIXME */ hInf, InterfaceSection, SPINST_REGISTRY, hKey, NULL, 0, NULL, NULL, NULL, NULL);
|
if (RegCreateKeyExW(hKey, L"Device Parameters", 0, NULL, 0, KEY_ALL_ACCESS, NULL, &hRefKey, NULL) != ERROR_SUCCESS)
|
||||||
|
{
|
||||||
|
RegCloseKey(hKey);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
return SetupInstallFromInfSectionW(NULL, /* FIXME */ hInf, InterfaceSection, SPINST_REGISTRY, hRefKey, NULL, 0, NULL, NULL, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
|
Loading…
Reference in a new issue