Changeset 52497 in vbox
- Timestamp:
- Aug 25, 2014 4:40:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r52492 r52497 891 891 /* mParent is constant during life time, no need to lock */ 892 892 ComObjPtr<VirtualBox> pVirtualBox(mParent); 893 pVirtualBox.queryInterfaceTo(aParent.asOutParam());893 aParent = pVirtualBox; 894 894 895 895 return S_OK; … … 969 969 Utf8Str(mData->mAccessError.getComponent()).c_str(), 970 970 Utf8Str(mData->mAccessError.getText())); 971 rc = errorInfo.queryInterfaceTo(aAccessError.asOutParam());971 aAccessError = errorInfo; 972 972 } 973 973 … … 2091 2091 { 2092 2092 /* mBIOSSettings is constant during life time, no need to lock */ 2093 mBIOSSettings.queryInterfaceTo(aBIOSSettings.asOutParam());2093 aBIOSSettings = mBIOSSettings; 2094 2094 2095 2095 return S_OK; … … 2523 2523 for (MediaData::AttachmentList::iterator it = mMediaData->mAttachments.begin(); 2524 2524 it != mMediaData->mAttachments.end(); ++it, ++i) 2525 (*it).queryInterfaceTo(aMediumAttachments[i].asOutParam());2525 aMediumAttachments[i] = *it; 2526 2526 2527 2527 return S_OK; … … 2534 2534 Assert(!!mVRDEServer); 2535 2535 2536 mVRDEServer.queryInterfaceTo(aVRDEServer.asOutParam());2536 aVRDEServer = mVRDEServer; 2537 2537 2538 2538 return S_OK; … … 2543 2543 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 2544 2544 2545 mAudioAdapter.queryInterfaceTo(aAudioAdapter.asOutParam());2545 aAudioAdapter = mAudioAdapter; 2546 2546 2547 2547 return S_OK; … … 2565 2565 size_t i = 0; 2566 2566 for (USBControllerList::iterator it = data.begin(); it != data.end(); ++i, ++it) 2567 (*it).queryInterfaceTo(aUSBControllers[i].asOutParam());2567 aUSBControllers[i] = *it; 2568 2568 2569 2569 return S_OK; … … 2590 2590 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 2591 2591 2592 return rc = mUSBDeviceFilters.queryInterfaceTo(aUSBDeviceFilters.asOutParam()); 2592 aUSBDeviceFilters = mUSBDeviceFilters; 2593 return rc; 2593 2594 #else 2594 2595 /* Note: The GUI depends on this method returning E_NOTIMPL with no … … 2693 2694 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 2694 2695 2695 mData->mCurrentSnapshot.queryInterfaceTo(aCurrentSnapshot.asOutParam());2696 aCurrentSnapshot = mData->mCurrentSnapshot; 2696 2697 2697 2698 return S_OK; … … 2732 2733 for (std::list<ComObjPtr<SharedFolder> >::iterator it = mHWData->mSharedFolders.begin(); 2733 2734 it != mHWData->mSharedFolders.end(); ++i, ++it) 2734 (*it).queryInterfaceTo(aSharedFolders[i].asOutParam());2735 aSharedFolders[i] = *it; 2735 2736 2736 2737 return S_OK; … … 2836 2837 aStorageControllers.resize(data.size()); 2837 2838 for (StorageControllerList::iterator it = data.begin(); it != data.end(); ++it, ++i) 2838 (*it).queryInterfaceTo(aStorageControllers[i].asOutParam());2839 aStorageControllers[i] = *it; 2839 2840 return S_OK; 2840 2841 } … … 3594 3595 if (SUCCEEDED(rc)) 3595 3596 { 3596 progress.queryInterfaceTo(aProgress.asOutParam());3597 aProgress = progress; 3597 3598 3598 3599 /* signal the client watcher thread */ … … 4779 4780 aDevice, aControllerPort, aName.c_str()); 4780 4781 4781 pAttach->i_getMedium().queryInterfaceTo(aMedium.asOutParam());4782 aMedium = pAttach->i_getMedium(); 4782 4783 4783 4784 return S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.