VirtualBox

Changeset 17516 in vbox for trunk/src/VBox/Main/win


Ignore:
Timestamp:
Mar 7, 2009 6:04:13 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43949
Message:

NettIf/win: ipconfig fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/win/NetIfList-win.cpp

    r17508 r17516  
    21102110}
    21112111
    2112 int NetIfGetConfig(HostNetworkInterface * pIf, NETIFINFO *)
     2112int NetIfGetConfig(HostNetworkInterface * pIf, NETIFINFO *pInfo)
    21132113{
    21142114#ifndef VBOX_WITH_NETFLT
    21152115    return VERR_NOT_IMPLEMENTED;
    21162116#else
    2117     return VERR_NOT_IMPLEMENTED;
     2117    Bstr name;
     2118    HRESULT hr = pIf->COMGETTER(Name)(name.asOutParam());
     2119    if(SUCCEEDED(hr))
     2120    {
     2121        return collectNetIfInfo(name, pInfo);
     2122    }
     2123    return VERR_GENERAL_FAILURE;
    21182124#endif
    21192125}
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