Changeset 100430 in vbox for trunk/src/VBox
- Timestamp:
- Jul 7, 2023 10:12:31 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp
r100405 r100430 2504 2504 LogFlowFunc(("VBOX_SHCL_HOST_MSG_TRANSFER_LIST_ENTRY_READ\n")); 2505 2505 2506 SHCLLISTENTRY entryList; 2507 rc = ShClTransferListEntryInit(&entryList); 2506 SHCLLISTHANDLE hList; 2507 uint32_t fInfo; 2508 rc = VbglR3ClipboardTransferListEntryReadRecvReq(pCmdCtx, &hList, &fInfo); 2508 2509 if (RT_SUCCESS(rc)) 2509 2510 { 2510 SHCLLISTHANDLE hList; 2511 uint32_t fInfo; 2512 rc = VbglR3ClipboardTransferListEntryReadRecvReq(pCmdCtx, &hList, &fInfo); 2511 PSHCLTRANSFER pTransfer = ShClTransferCtxGetTransferById(pTransferCtx, 2512 VBOX_SHCL_CONTEXTID_GET_TRANSFER(pCmdCtx->idContext)); 2513 AssertPtrBreakStmt(pTransfer, rc = VERR_NOT_FOUND); 2514 2515 SHCLLISTENTRY entryList; 2516 rc = ShClTransferListRead(pTransfer, hList, &entryList); 2513 2517 if (RT_SUCCESS(rc)) 2514 2518 { 2515 PSHCLTRANSFER pTransfer = ShClTransferCtxGetTransferById(pTransferCtx, 2516 VBOX_SHCL_CONTEXTID_GET_TRANSFER(pCmdCtx->idContext)); 2517 AssertPtrBreakStmt(pTransfer, rc = VERR_NOT_FOUND); 2518 2519 rc = ShClTransferListRead(pTransfer, hList, &entryList); 2520 if (RT_SUCCESS(rc)) 2521 { 2522 PSHCLFSOBJINFO pObjInfo = (PSHCLFSOBJINFO)entryList.pvInfo; 2523 Assert(entryList.cbInfo == sizeof(SHCLFSOBJINFO)); 2524 2525 RT_NOREF(pObjInfo); 2526 2527 LogFlowFunc(("\t%s (%RU64 bytes)\n", entryList.pszName, pObjInfo->cbObject)); 2528 2529 rc = VbglR3ClipboardTransferListEntryWrite(pCmdCtx, hList, &entryList); 2530 } 2519 PSHCLFSOBJINFO pObjInfo = (PSHCLFSOBJINFO)entryList.pvInfo; 2520 Assert(entryList.cbInfo == sizeof(SHCLFSOBJINFO)); 2521 2522 RT_NOREF(pObjInfo); 2523 2524 LogFlowFunc(("\t%s (%RU64 bytes)\n", entryList.pszName, pObjInfo->cbObject)); 2525 2526 rc = VbglR3ClipboardTransferListEntryWrite(pCmdCtx, hList, &entryList); 2527 2528 ShClTransferListEntryDestroy(&entryList); 2531 2529 } 2532 2533 ShClTransferListEntryDestroy(&entryList);2534 2530 } 2535 2531
Note:
See TracChangeset
for help on using the changeset viewer.