- Timestamp:
- Dec 24, 2010 6:05:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHostonly.cpp
r35317 r35330 97 97 98 98 ComPtr<IHost> host; 99 CHECK_ERROR (a->virtualBox, COMGETTER(Host)(host.asOutParam()));99 CHECK_ERROR_RET(a->virtualBox, COMGETTER(Host)(host.asOutParam()), 1); 100 100 101 101 ComPtr<IHostNetworkInterface> hif; 102 CHECK_ERROR (host, FindHostNetworkInterfaceByName(name.raw(), hif.asOutParam()));102 CHECK_ERROR_RET(host, FindHostNetworkInterfaceByName(name.raw(), hif.asOutParam()), 1); 103 103 104 104 Bstr guid; 105 CHECK_ERROR (hif, COMGETTER(Id)(guid.asOutParam()));105 CHECK_ERROR_RET(hif, COMGETTER(Id)(guid.asOutParam()), 1); 106 106 107 107 ComPtr<IProgress> progress; 108 CHECK_ERROR (host, RemoveHostOnlyNetworkInterface(guid.raw(), progress.asOutParam()));108 CHECK_ERROR_RET(host, RemoveHostOnlyNetworkInterface(guid.raw(), progress.asOutParam()), 1); 109 109 110 110 rc = showProgress(progress);
Note:
See TracChangeset
for help on using the changeset viewer.