https://git.reactos.org/?p=reactos.git;a=commitdiff;h=500f00de6a38a379cdfdea...
commit 500f00de6a38a379cdfdea3b805150620a6d58ef Author: Hervé Poussineau hpoussin@reactos.org AuthorDate: Thu Oct 7 19:31:27 2021 +0200 Commit: Hervé Poussineau hpoussin@reactos.org CommitDate: Thu Oct 14 23:39:30 2021 +0200
[DEVMGR] Display current assigned resources, instead of boot resources --- dll/win32/devmgr/properties/hwresource.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dll/win32/devmgr/properties/hwresource.cpp b/dll/win32/devmgr/properties/hwresource.cpp index a3e1a88b65e..6803c716431 100644 --- a/dll/win32/devmgr/properties/hwresource.cpp +++ b/dll/win32/devmgr/properties/hwresource.cpp @@ -363,7 +363,7 @@ GetResourceList(
CStringW keyName = L"SYSTEM\CurrentControlSet\Enum\"; keyName += pszDeviceID; - keyName += L"\LogConf"; + keyName += L"\Control";
dwError = RegOpenKeyExW(HKEY_LOCAL_MACHINE, keyName, 0, KEY_READ, &hKey); if (dwError != ERROR_SUCCESS) @@ -373,7 +373,7 @@ GetResourceList( }
dwSize = 0; - RegQueryValueExW(hKey, L"BootConfig", NULL, NULL, NULL, &dwSize); + RegQueryValueExW(hKey, L"AllocConfig", NULL, NULL, NULL, &dwSize); if (dwSize == 0) goto done;
@@ -381,7 +381,7 @@ GetResourceList( if (pResourceList == NULL) goto done;
- dwError = RegQueryValueExW(hKey, L"BootConfig", NULL, NULL, (LPBYTE)pResourceList, &dwSize); + dwError = RegQueryValueExW(hKey, L"AllocConfig", NULL, NULL, (LPBYTE)pResourceList, &dwSize); if (dwError != ERROR_SUCCESS) { HeapFree(GetProcessHeap(), 0, pResourceList);