VirtualBox

Ignore:
Timestamp:
Oct 13, 2008 8:48:44 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37817
Message:

UI/config part of win NetFlt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r13221 r13234  
    12121212                    }
    12131213
    1214 #elif defined(VBOX_WITH_NETFLT) && !defined(RT_OS_WINDOWS) /** @todo merge in the windows stuff too */
     1214#elif defined(VBOX_WITH_NETFLT)
    12151215                    /*
    12161216                     * This is the new VBoxNetFlt+IntNet stuff.
     
    12591259                        *pszSpace = '\0';
    12601260                    const char *pszTrunk = szTrunk;
     1261# elif defined(RT_OS_WINDOWS)
     1262                    ComPtr<IHostNetworkInterfaceCollection> coll;
     1263                    hrc = host->COMGETTER(NetworkInterfaces)(coll.asOutParam());    H();
     1264                    ComPtr<IHostNetworkInterface> hostInterface;
     1265                    rc = coll->FindByName(HifName, hostInterface.asOutParam());
     1266                    if (!SUCCEEDED(rc))
     1267                    {
     1268                        return VMSetError(pVM, VERR_INTERNAL_ERROR, RT_SRC_POS,
     1269                                          N_("Inexistent host networking interface, name '%ls'"),
     1270                                          HifName.raw());
     1271                    }
     1272                    const char *pszTrunk = pszHifName;
    12611273# else
    12621274#  error "PORTME (VBOX_WITH_NETFLT)"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette