VirtualBox

Ignore:
Timestamp:
Aug 8, 2012 10:37:51 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
79897
Message:

Guest Control 2.0: Update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp

    r42668 r42693  
    16591659    {
    16601660#ifndef VBOX_WITH_GUEST_CONTROL2
     1661        Assert(!fFlags);
    16611662        rc = pContext->pGuest->CopyToGuest(Bstr(pszFileSource).raw(), Bstr(pszFileDest).raw(),
    16621663                                           Bstr(pContext->strUsername).raw(), Bstr(pContext->strPassword).raw(),
    16631664                                           fFlags, pProgress.asOutParam());
    16641665#else
    1665         Assert(!fFlags);
    16661666        SafeArray<CopyFileFlag_T> copyFlags;
    16671667        rc = pContext->pGuestSession->CopyTo(Bstr(pszFileSource).raw(), Bstr(pszFileDest).raw(),
     
    16741674    {
    16751675#ifndef VBOX_WITH_GUEST_CONTROL2
     1676        Assert(!fFlags);
    16761677        rc = pContext->pGuest->CopyFromGuest(Bstr(pszFileSource).raw(), Bstr(pszFileDest).raw(),
    16771678                                             Bstr(pContext->strUsername).raw(), Bstr(pContext->strPassword).raw(),
    16781679                                             fFlags, pProgress.asOutParam());
    16791680#else
    1680         Assert(!fFlags);
    16811681        SafeArray<CopyFileFlag_T> copyFlags;
    16821682        rc = pContext->pGuestSession->CopyFrom(Bstr(pszFileSource).raw(), Bstr(pszFileDest).raw(),
     
    28092809        HRESULT rc = S_OK;
    28102810        ComPtr<IProgress> pProgress;
     2811
     2812        SafeArray<AdditionsUpdateFlag_T> updateFlags;
    28112813        CHECK_ERROR(guest, UpdateGuestAdditions(Bstr(strSource).raw(),
    28122814                                                /* Wait for whole update process to complete. */
    2813                                                 AdditionsUpdateFlag_None,
     2815                                                ComSafeArrayAsInParam(updateFlags),
    28142816                                                pProgress.asOutParam()));
    28152817        if (FAILED(rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette