Changeset 44372 in vbox
- Timestamp:
- Jan 25, 2013 11:50:48 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83341
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstVBoxAPILinux.cpp
r43041 r44372 78 78 79 79 #include <nsIExceptionService.h> 80 81 #include <VBox/com/com.h> 82 #include <VBox/com/string.h> 83 #include <VBox/com/array.h> 84 #include <VBox/com/Guid.h> 85 #include <VBox/com/ErrorInfo.h> 86 #include <VBox/com/errorprint.h> 87 #include <VBox/com/EventQueue.h> 88 89 #include <VBox/com/VirtualBox.h> 90 80 91 81 92 /* … … 308 319 */ 309 320 nsCOMPtr <IProgress> progress; 321 com::SafeArray<MediumVariant_T> mediumVariant(sizeof(MediumVariant_T)*8); 322 mediumVariant.push_back(MediumVariant_Standard); 310 323 rc = hardDisk->CreateBaseStorage(100, // size in megabytes 311 MediumVariant_Standard,324 ComSafeArrayAsInParam(mediumVariant), 312 325 getter_AddRefs(progress)); // optional progress object 313 326 if (NS_FAILED(rc))
Note:
See TracChangeset
for help on using the changeset viewer.