Changeset 88087 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Mar 11, 2021 1:00:16 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143229
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageUtils.cpp
r88086 r88087 33 33 const ComPtr<IMachine> &pMachine) 34 34 { 35 ComPtr<ISystemProperties> info;36 ChipsetType_T aChipset;37 35 ULONG NetworkAdapterCount = 0; 38 HRESULT rc; 36 do { 37 HRESULT rc; 39 38 40 do {39 ComPtr<ISystemProperties> info; 41 40 CHECK_ERROR_BREAK(pVirtualBox, COMGETTER(SystemProperties)(info.asOutParam())); 41 42 ChipsetType_T aChipset; 42 43 CHECK_ERROR_BREAK(pMachine, COMGETTER(ChipsetType)(&aChipset)); 44 43 45 CHECK_ERROR_BREAK(info, GetMaxNetworkAdapters(aChipset, &NetworkAdapterCount)); 44 45 return (unsigned int)NetworkAdapterCount;46 46 } while (0); 47 47 48 return 0;48 return (unsigned int)NetworkAdapterCount; 49 49 } 50 50
Note:
See TracChangeset
for help on using the changeset viewer.