HostDnsServiceWin.cpp revision 5218e94d899f948d3def7109e05a93fc6d590037
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync/* -*- indent-tabs-mode: nil; -*- */
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync TEXT("SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
5218e94d899f948d3def7109e05a93fc6d590037vboxsyncHRESULT HostDnsServiceWin::init(const VirtualBox *aParent)
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync hrc = RegEnumValueA(g_hKeyTcpipParameters, regIndex, keyName, &cbKeyName, 0,
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync else if ( RTStrICmp("DhcpNameServer", keyName) == 0
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync /* OK, now parse and update DNS structures. */
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync /* domain name */
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync /* server list */
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync strList2List(m_llNameServers, (char *)abNameServers);
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync /* search list */
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync strList2List(m_llSearchStrings, (char *)abNameServers);