mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[NETCFGX] LoadDNSSettings(): Improve one RegQueryValueExW() call (#2870)
This commit is contained in:
parent
b43bb63373
commit
62b4c61f82
1 changed files with 2 additions and 0 deletions
|
@ -2719,6 +2719,8 @@ LoadDNSSettings(
|
|||
{
|
||||
dwSize = sizeof(DWORD);
|
||||
RegQueryValueExW(hKey, L"RegisterAdapterName", NULL, NULL, (LPBYTE)&This->pCurrentConfig->pDNS->RegisterAdapterName, &dwSize);
|
||||
|
||||
dwSize = sizeof(DWORD);
|
||||
RegQueryValueExW(hKey, L"RegistrationEnabled", NULL, NULL, (LPBYTE)&This->pCurrentConfig->pDNS->RegistrationEnabled, &dwSize);
|
||||
|
||||
dwSize = sizeof(This->pCurrentConfig->pDNS->szDomain);
|
||||
|
|
Loading…
Reference in a new issue