VirtualBox

Ignore:
Timestamp:
Sep 19, 2019 12:14:07 PM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/Transfers: Update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp

    r80886 r80905  
    12631263    if (RT_SUCCESS(rc))
    12641264    {
     1265        SharedClipboardTransferSetCallbacks(pTransfer, &pCmdCtx->Transfers.Callbacks);
     1266
    12651267        rc = SharedClipboardTransferCtxTransferRegisterByIndex(pTransferCtx, pTransfer, uTransferID);
    12661268        if (RT_SUCCESS(rc))
    12671269        {
    12681270            rc = SharedClipboardTransferInit(pTransfer, uTransferID, enmDir, enmSource);
    1269             if (RT_FAILURE(rc))
     1271            if (RT_SUCCESS(rc))
     1272            {
     1273                rc = SharedClipboardTransferStart(pTransfer);
     1274            }
     1275            else
    12701276                SharedClipboardTransferCtxTransferUnregister(pTransferCtx, uTransferID);
    12711277        }
     
    13591365                switch (transferReport.uStatus)
    13601366                {
    1361                     case SHCLTRANSFERSTATUS_READY:
     1367                    case SHCLTRANSFERSTATUS_INITIALIZED:
    13621368                        RT_FALL_THROUGH();
    13631369                    case SHCLTRANSFERSTATUS_STARTED:
Note: See TracChangeset for help on using the changeset viewer.

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