Changeset 37395 in vbox
- Timestamp:
- Jun 9, 2011 3:41:13 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72191
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r37200 r37395 1003 1003 } 1004 1004 else 1005 { 1005 1006 strAttachment = Utf8StrFmt("Generic '%lS'", strGenericDriver.raw()); 1007 1008 // show the generic properties 1009 com::SafeArray<BSTR> aProperties; 1010 com::SafeArray<BSTR> aValues; 1011 if (SUCCEEDED(nic->COMGETTER(Properties)(NULL, 1012 ComSafeArrayAsOutParam(aProperties), 1013 ComSafeArrayAsOutParam(aValues)))) 1014 { 1015 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 } 1023 strAttachment += " }"; 1024 } 1025 } 1006 1026 break; 1007 1027 }
Note:
See TracChangeset
for help on using the changeset viewer.