Changeset 103450 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Feb 19, 2024 2:55:20 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp
r103442 r103450 179 179 AssertPtr(pCtx); 180 180 181 switch(ShClTransferGetDir(pCbCtx->pTransfer)) 181 PSHCLTRANSFER pTransfer = pCbCtx->pTransfer; 182 AssertPtr(pTransfer); 183 184 switch(ShClTransferGetDir(pTransfer)) 182 185 { 183 186 case SHCLTRANSFERDIR_FROM_REMOTE: /* G->H */ 184 187 { 185 SharedClipboardWinDataObject *pObj = pCtx->Win.pDataObjInFlight; 186 if (pObj) 187 { 188 rc = pObj->SetTransfer(pCbCtx->pTransfer); 189 if (RT_SUCCESS(rc)) 190 rc = pObj->SetStatus(SharedClipboardWinDataObject::Running); 191 192 pCtx->Win.pDataObjInFlight = NULL; /* Hand off to Windows. */ 193 } 194 else 195 AssertMsgFailed(("No data object in flight!\n")); 196 188 rc = SharedClipboardWinTransferHandOffToDataObject(&pCtx->Win, pTransfer); 197 189 break; 198 190 } … … 200 192 case SHCLTRANSFERDIR_TO_REMOTE: /* H->G */ 201 193 { 202 rc = SharedClipboardWinTransferGetRootsFromClipboard(&pCtx->Win, p CbCtx->pTransfer);194 rc = SharedClipboardWinTransferGetRootsFromClipboard(&pCtx->Win, pTransfer); 203 195 break; 204 196 }
Note:
See TracChangeset
for help on using the changeset viewer.