Changeset 26587 in vbox for trunk/src/VBox/Main/generic/NetIf-generic.cpp
- Timestamp:
- Feb 16, 2010 4:57:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/generic/NetIf-generic.cpp
r26553 r26587 231 231 Bstr ifname; 232 232 ComPtr<IHostNetworkInterface> iface; 233 if (FAILED(host->FindHostNetworkInterfaceById 233 if (FAILED(host->FindHostNetworkInterfaceById(Guid(aId).toUtf16(), iface.asOutParam()))) 234 234 return VERR_INVALID_PARAMETER; 235 iface->COMGETTER(Name) 236 if (ifname.is Null())235 iface->COMGETTER(Name)(ifname.asOutParam()); 236 if (ifname.isEmpty()) 237 237 return VERR_INTERNAL_ERROR; 238 238 239 rc = progress->init (pVBox, host, 240 Bstr ("Removing host network interface"), 239 rc = progress->init(pVBox, 240 host, 241 Bstr("Removing host network interface"), 241 242 FALSE /* aCancelable */); 242 243 if(SUCCEEDED(rc))
Note:
See TracChangeset
for help on using the changeset viewer.