mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 00:45:43 +00:00
[NETCFGX]
- Use correct parent key instead of an uninitialized handle in INetCfgComponentControl_fnApplyRegistryChanges CORE-8115 #resolve svn path=/trunk/; revision=63032
This commit is contained in:
parent
2e56e4ba43
commit
c06ae88245
1 changed files with 1 additions and 1 deletions
|
@ -3141,7 +3141,7 @@ INetCfgComponentControl_fnApplyRegistryChanges(
|
||||||
//MessageBoxW(NULL, L"INetCfgComponentControl_fnApplyRegistryChanges", NULL, MB_OK);
|
//MessageBoxW(NULL, L"INetCfgComponentControl_fnApplyRegistryChanges", NULL, MB_OK);
|
||||||
|
|
||||||
|
|
||||||
if (RegCreateKeyExW(hKey, L"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters", 0, NULL, 0, KEY_WRITE, NULL, &hKey, NULL) == ERROR_SUCCESS)
|
if (RegCreateKeyExW(HKEY_LOCAL_MACHINE, L"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters", 0, NULL, 0, KEY_WRITE, NULL, &hKey, NULL) == ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
if (pCurrentConfig->pDNS)
|
if (pCurrentConfig->pDNS)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue