Changeset 16707 in vbox for trunk/src/VBox/Main/VirtualBoxImpl.cpp
- Timestamp:
- Feb 12, 2009 1:19:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r16560 r16707 676 676 } 677 677 678 STDMETHODIMP VirtualBox::COMGETTER(ProgressOperations) ( IProgressCollection **aOperations)678 STDMETHODIMP VirtualBox::COMGETTER(ProgressOperations) (ComSafeArrayOut (IProgress *, aOperations)) 679 679 { 680 680 CheckComArgOutSafeArrayPointerValid(aOperations); … … 682 682 AutoCaller autoCaller (this); 683 683 CheckComRCReturnRC (autoCaller.rc()); 684 685 ComObjPtr <ProgressCollection> collection;686 collection.createObject();687 684 688 685 /* protect mProgressOperations */ 689 686 AutoReadLock safeLock (mSafeLock); 690 687 691 collection->init(mData.mProgressOperations);692 collection.queryInterfaceTo (aOperations);688 SafeIfaceArray <IProgress> progress (mData.mProgressOperations); 689 progress.detachTo (ComSafeArrayOutArg (aOperations)); 693 690 694 691 return S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.