Changeset 37401 in vbox
- Timestamp:
- Jun 9, 2011 9:16:26 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72198
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r37395 r37401 1009 1009 com::SafeArray<BSTR> aProperties; 1010 1010 com::SafeArray<BSTR> aValues; 1011 if (SUCCEEDED(nic->COMGETTER(Properties)(NULL, 1012 ComSafeArrayAsOutParam(aProperties), 1013 ComSafeArrayAsOutParam(aValues)))) 1011 rc = nic->GetProperties(NULL, 1012 ComSafeArrayAsOutParam(aProperties), 1013 ComSafeArrayAsOutParam(aValues)); 1014 if (SUCCEEDED(rc)) 1014 1015 { 1015 1016 strAttachment += " { "; 1016 unsigned i; 1017 for (i = 0; i < aProperties.size(); ++i) 1018 { 1019 strAttachment += Utf8StrFmt("%lS='%lS'", aProperties[i], aValues[i]); 1020 if (i != aProperties.size() - 1) 1021 strAttachment += ", "; 1022 } 1017 for (unsigned i = 0; i < aProperties.size(); ++i) 1018 strAttachment += Utf8StrFmt(!i ? "%lS='%lS'" : ", %lS='%lS'", 1019 aProperties[i], aValues[i]); 1023 1020 strAttachment += " }"; 1024 1021 }
Note:
See TracChangeset
for help on using the changeset viewer.