Changeset 100663 in vbox
- Timestamp:
- Jul 20, 2023 10:20:05 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp
r100657 r100663 922 922 923 923 /** 924 * Replies to a transfer report fromthe host, extended version.924 * Sends a transfer status to the host, extended version. 925 925 * 926 926 * @returns VBox status code. … … 928 928 * @param uCID Context ID to use. 929 929 * The transfer ID is part of this. 930 * @param uStatus Tranfer status to reply.931 * @param rcTransfer Result code (rc) to reply.932 */ 933 static int vbglR3ClipboardTransferS tatusReplyEx(PVBGLR3SHCLCMDCTX pCtx, uint64_t uCID,934 930 * @param uStatus Tranfer status to send. 931 * @param rcTransfer Result code (rc) to send. 932 */ 933 static int vbglR3ClipboardTransferSendStatusEx(PVBGLR3SHCLCMDCTX pCtx, uint64_t uCID, 934 SHCLTRANSFERSTATUS uStatus, int rcTransfer) 935 935 { 936 936 AssertPtrReturn(pCtx, VERR_INVALID_POINTER); … … 970 970 RT_NOREF(pTransfer); /* Currently not used (yet). */ 971 971 972 int rc = vbglR3ClipboardTransferS tatusReplyEx(pCtx, pCtx->idContext, uStatus, rcTransfer);972 int rc = vbglR3ClipboardTransferSendStatusEx(pCtx, pCtx->idContext, uStatus, rcTransfer); 973 973 974 974 LogFlowFuncLeaveRC(rc); … … 2172 2172 LogRel2(("Shared Clipboard: Requesting new host -> guest transfer from host\n")); 2173 2173 2174 int rc = vbglR3ClipboardTransferS tatusReplyEx(pCmdCtx, 0 /* Context ID not needed */,2175 2174 int rc = vbglR3ClipboardTransferSendStatusEx(pCmdCtx, 0 /* Context ID not needed */, 2175 SHCLTRANSFERSTATUS_REQUESTED, VINF_SUCCESS); 2176 2176 LogFlowFuncLeaveRC(rc); 2177 2177 return rc; … … 2674 2674 { 2675 2675 /* Report transfer-specific error back to the host. */ 2676 int rc2 = vbglR3ClipboardTransferS tatusReplyEx(pCmdCtx, pCmdCtx->idContext, SHCLTRANSFERSTATUS_ERROR, rc);2676 int rc2 = vbglR3ClipboardTransferSendStatusEx(pCmdCtx, pCmdCtx->idContext, SHCLTRANSFERSTATUS_ERROR, rc); 2677 2677 AssertRC(rc2); 2678 2678 }
Note:
See TracChangeset
for help on using the changeset viewer.