HostDnsServiceWin.cpp revision e9745a6011708caa5cf92ce0eb03496c0a76b7ed
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync/* -*- indent-tabs-mode: nil; -*- */
8dfc5e89cd3421bb0602f33768f00c1f1d40b1d2vboxsync TEXT("SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync hrc = RegEnumValueA(g_hKeyTcpipParameters, regIndex, keyName, &cbKeyName, 0,
8dfc5e89cd3421bb0602f33768f00c1f1d40b1d2vboxsync else if ( RTStrICmp("DhcpNameServer", keyName) == 0
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync /* OK, now parse and update DNS structures. */
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync /* domain name */
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync /* server list */
7a0e5c38eeca5147034ace6fe624de57ac2988ddvboxsync strList2List(info.servers, static_cast<char *>(&abNameServers[0]));
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync /* search list */
7a0e5c38eeca5147034ace6fe624de57ac2988ddvboxsync strList2List(info.searchList, static_cast<char *>(&abSearchList[0]));