VirtualBox

Ignore:
Timestamp:
Feb 9, 2021 1:26:19 PM (4 years ago)
Author:
vboxsync
Message:

Shared Clipboard/Transfers: Rearranged parameter lists of ShClTransferObj[Read|Write](). ​bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp

    r87454 r87658  
    298298    {
    299299        Assert(pSrvTx->hObj != SHCLOBJHANDLE_INVALID);
    300 //        rc = ShClTransferObjRead(pSrvTx->pTransfer, pSrvTx->hObj, );
    301 rc = 0;
     300
     301        uint32_t cbRead;
     302        rc = ShClTransferObjRead(pSrvTx->pTransfer, pSrvTx->hObj, pvBuf, cbBuf, 0 /* fFlags */, &cbRead);
    302303        if (RT_SUCCESS(rc))
    303304        {
    304 
     305            *pcbRead = (uint32_t)cbRead;
    305306        }
    306307
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