mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[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.
This commit is contained in:
parent
4d5a2dd0f3
commit
79a0f2b430
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue