Changeset 33398 in vbox
- Timestamp:
- Oct 24, 2010 4:33:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HostImpl.cpp
r33232 r33398 1056 1056 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 1057 1057 1058 #ifdef VBOX_WITH_HOSTNETIF_API 1058 1059 /* No need to lock anything. If there ever will - watch out, the function 1059 1060 * called below grabs the VirtualBox lock. */ … … 1064 1065 1065 1066 return r == VERR_NOT_IMPLEMENTED ? E_NOTIMPL : E_FAIL; 1067 #else 1068 return E_NOTIMPL; 1069 #endif 1066 1070 } 1067 1071 … … 1074 1078 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 1075 1079 1080 #ifdef VBOX_WITH_HOSTNETIF_API 1076 1081 /* No need to lock anything, the code below does not touch the state 1077 1082 * of the host object. If that ever changes then check for lock order … … 1093 1098 1094 1099 return r == VERR_NOT_IMPLEMENTED ? E_NOTIMPL : E_FAIL; 1100 #else 1101 return E_NOTIMPL; 1102 #endif 1095 1103 } 1096 1104 … … 1373 1381 ComSafeArrayOut(IHostNetworkInterface *, aNetworkInterfaces)) 1374 1382 { 1383 #ifdef VBOX_WITH_HOSTNETIF_API 1375 1384 std::list <ComObjPtr<HostNetworkInterface> > allList; 1376 1385 int rc = NetIfList(allList); … … 1399 1408 1400 1409 return S_OK; 1410 #else 1411 return E_NOTIMPL; 1412 #endif 1401 1413 } 1402 1414
Note:
See TracChangeset
for help on using the changeset viewer.