Changeset 87658 in vbox for trunk/src/VBox/GuestHost/SharedClipboard
- Timestamp:
- Feb 9, 2021 1:26:19 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142700
- Location:
- trunk/src/VBox/GuestHost/SharedClipboard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp
r87454 r87658 298 298 { 299 299 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); 302 303 if (RT_SUCCESS(rc)) 303 304 { 304 305 *pcbRead = (uint32_t)cbRead; 305 306 } 306 307 -
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp
r87653 r87658 963 963 * @param pvBuf Buffer for where to store the read data. 964 964 * @param cbBuf Size (in bytes) of buffer. 965 * @param pcbRead How much bytes were read on success. Optional. 965 * @param fFlags Read flags. Optional. 966 * @param pcbRead Where to return how much bytes were read on success. Optional. 966 967 */ 967 968 int ShClTransferObjRead(PSHCLTRANSFER pTransfer, 968 SHCLOBJHANDLE hObj, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead, uint32_t fFlags)969 SHCLOBJHANDLE hObj, void *pvBuf, uint32_t cbBuf, uint32_t fFlags, uint32_t *pcbRead) 969 970 { 970 971 AssertPtrReturn(pTransfer, VERR_INVALID_POINTER); … … 1027 1028 * @param pvBuf Buffer of data to write. 1028 1029 * @param cbBuf Size (in bytes) of buffer to write. 1030 * @param fFlags Write flags. Optional. 1029 1031 * @param pcbWritten How much bytes were writtenon success. Optional. 1030 1032 */ 1031 1033 int ShClTransferObjWrite(PSHCLTRANSFER pTransfer, 1032 SHCLOBJHANDLE hObj, void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten, 1033 uint32_t fFlags) 1034 SHCLOBJHANDLE hObj, void *pvBuf, uint32_t cbBuf, uint32_t fFlags, uint32_t *pcbWritten) 1034 1035 { 1035 1036 AssertPtrReturn(pTransfer, VERR_INVALID_POINTER);
Note:
See TracChangeset
for help on using the changeset viewer.