Changeset 42693 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Aug 8, 2012 10:37:51 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79897
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r42668 r42693 1659 1659 { 1660 1660 #ifndef VBOX_WITH_GUEST_CONTROL2 1661 Assert(!fFlags); 1661 1662 rc = pContext->pGuest->CopyToGuest(Bstr(pszFileSource).raw(), Bstr(pszFileDest).raw(), 1662 1663 Bstr(pContext->strUsername).raw(), Bstr(pContext->strPassword).raw(), 1663 1664 fFlags, pProgress.asOutParam()); 1664 1665 #else 1665 Assert(!fFlags);1666 1666 SafeArray<CopyFileFlag_T> copyFlags; 1667 1667 rc = pContext->pGuestSession->CopyTo(Bstr(pszFileSource).raw(), Bstr(pszFileDest).raw(), … … 1674 1674 { 1675 1675 #ifndef VBOX_WITH_GUEST_CONTROL2 1676 Assert(!fFlags); 1676 1677 rc = pContext->pGuest->CopyFromGuest(Bstr(pszFileSource).raw(), Bstr(pszFileDest).raw(), 1677 1678 Bstr(pContext->strUsername).raw(), Bstr(pContext->strPassword).raw(), 1678 1679 fFlags, pProgress.asOutParam()); 1679 1680 #else 1680 Assert(!fFlags);1681 1681 SafeArray<CopyFileFlag_T> copyFlags; 1682 1682 rc = pContext->pGuestSession->CopyFrom(Bstr(pszFileSource).raw(), Bstr(pszFileDest).raw(), … … 2809 2809 HRESULT rc = S_OK; 2810 2810 ComPtr<IProgress> pProgress; 2811 2812 SafeArray<AdditionsUpdateFlag_T> updateFlags; 2811 2813 CHECK_ERROR(guest, UpdateGuestAdditions(Bstr(strSource).raw(), 2812 2814 /* Wait for whole update process to complete. */ 2813 AdditionsUpdateFlag_None,2815 ComSafeArrayAsInParam(updateFlags), 2814 2816 pProgress.asOutParam())); 2815 2817 if (FAILED(rc))
Note:
See TracChangeset
for help on using the changeset viewer.