VirtualBox

Changeset 56652 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 26, 2015 8:28:09 AM (9 years ago)
Author:
vboxsync
Message:

DnD/VbglR3: Also support non URI-data transfers, logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibDragAndDrop.cpp

    r56575 r56652  
    782782    }
    783783
     784    LogFlowFuncLeaveRC(rc);
    784785    return rc;
    785786}
     
    818819        AssertPtr(pcbFormatRecv);
    819820        if (DnDMIMEHasFileURLs(pszFormat, *pcbFormatRecv))
    820         {
    821821            rc = vbglR3DnDHGProcessURIMessages(pCtx,
    822822                                               ppvData,
    823823                                               cbData,
    824824                                               pcbDataRecv);
    825         }
    826         else
    827             rc = VERR_NOT_SUPPORTED;
    828 
    829825        if (RT_FAILURE(rc))
    830826        {
    831             if (RT_FAILURE(rc))
    832             {
    833                 int rc2 = VbglR3DnDHGSetProgress(pCtx, DragAndDropSvc::DND_PROGRESS_ERROR, 100 /* Percent */, rc);
    834                 AssertRC(rc2);
    835             }
    836         }
    837     }
    838 
     827            int rc2 = VbglR3DnDHGSetProgress(pCtx, DragAndDropSvc::DND_PROGRESS_ERROR, 100 /* Percent */, rc);
     828            AssertRC(rc2);
     829        }
     830    }
     831
     832    LogFlowFuncLeaveRC(rc);
    839833    return rc;
    840834}
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