https://git.reactos.org/?p=reactos.git;a=commitdiff;h=79a0f2b430a03d65760ff…
commit 79a0f2b430a03d65760ff96fa896bd92d21dec87
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Thu Jun 20 20:04:10 2019 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Thu Jun 20 20:08:36 2019 +0200
[NETCFGX] EnumClientServiceProtocol: Use the right parent key when trying to open the
'NDI' subkey.
This makes the description of the selected item show up in the network connection
properties.
---
dll/win32/netcfgx/netcfg_iface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/netcfgx/netcfg_iface.c b/dll/win32/netcfgx/netcfg_iface.c
index 2dfbcf4dad..c26f026fd0 100644
--- a/dll/win32/netcfgx/netcfg_iface.c
+++ b/dll/win32/netcfgx/netcfg_iface.c
@@ -293,7 +293,7 @@ EnumClientServiceProtocol(HKEY hKey, const GUID * pGuid,
NetCfgComponentItem **
}
}
- if (RegOpenKeyExW(hKey, L"NDI", 0, KEY_READ, &hNDIKey) ==
ERROR_SUCCESS)
+ if (RegOpenKeyExW(hSubKey, L"NDI", 0, KEY_READ, &hNDIKey)
== ERROR_SUCCESS)
{
/* retrieve HelpText */
dwSize = sizeof(szText);