- Timestamp:
- Apr 26, 2019 9:06:32 AM (6 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp
r78307 r78315 78 78 int vboxrc = VBoxClipboardWinGetFormats(&pCtx->Win, &uFormats); 79 79 if (RT_SUCCESS(vboxrc)) 80 vboxrc = VbglR3Clipboard WriteFormats(pCtx->u32ClientID, uFormats);80 vboxrc = VbglR3ClipboardReportFormats(pCtx->u32ClientID, uFormats); 81 81 } 82 82 } … … 128 128 int vboxrc = VBoxClipboardWinGetFormats(pWinCtx, &uFormats); 129 129 if (RT_SUCCESS(vboxrc)) 130 vboxrc = VbglR3Clipboard WriteFormats(pCtx->u32ClientID, uFormats);130 vboxrc = VbglR3ClipboardReportFormats(pCtx->u32ClientID, uFormats); 131 131 } 132 132 -
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp
r78308 r78315 154 154 155 155 /** 156 * Writes (advertises) guest clipboard formats to the host.156 * Reports (advertises) guest clipboard formats to the host. 157 157 * 158 158 * @returns VBox status code. … … 160 160 * @param fFormats The formats to advertise. 161 161 */ 162 VBGLR3DECL(int) VbglR3Clipboard WriteFormats(HGCMCLIENTID idClient, uint32_t fFormats)162 VBGLR3DECL(int) VbglR3ClipboardReportFormats(HGCMCLIENTID idClient, uint32_t fFormats) 163 163 { 164 164 VBoxClipboardWriteFormats Msg; 165 165 166 VBGL_HGCM_HDR_INIT(&Msg.hdr, idClient, VBOX_SHARED_CLIPBOARD_FN_ WRITE_FORMATS, 1);166 VBGL_HGCM_HDR_INIT(&Msg.hdr, idClient, VBOX_SHARED_CLIPBOARD_FN_REPORT_FORMATS, 1); 167 167 VbglHGCMParmUInt32Set(&Msg.formats, fFormats); 168 168 -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceClipboard-os2.cpp
r78307 r78315 611 611 } 612 612 VGSvcVerbose(4, "clipboard: reporting fFormats=%#x\n", fFormats); 613 VbglR3Clipboard WriteFormats(g_u32ClientId, fFormats);613 VbglR3ClipboardReportFormats(g_u32ClientId, fFormats); 614 614 } 615 615 … … 658 658 g_fEmptyClipboard = true; 659 659 VGSvcVerbose(3, "Reporting empty clipboard\n"); 660 VbglR3Clipboard WriteFormats(g_u32ClientId, 0);660 VbglR3ClipboardReportFormats(g_u32ClientId, 0); 661 661 } 662 662 } … … 681 681 g_fEmptyClipboard = true; 682 682 VGSvcVerbose(3, "Reporting empty clipboard\n"); 683 VbglR3Clipboard WriteFormats(g_u32ClientId, 0);683 VbglR3ClipboardReportFormats(g_u32ClientId, 0); 684 684 685 685 vgsvcClipboardOs2PollViewer(); -
trunk/src/VBox/Additions/haiku/VBoxTray/VBoxClipboard.cpp
r78307 r78315 345 345 be_clipboard->Unlock(); 346 346 347 VbglR3Clipboard WriteFormats(fClientId, formats);347 VbglR3ClipboardReportFormats(fClientId, formats); 348 348 break; 349 349 } -
trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp
r78307 r78315 152 152 RT_NOREF1(pCtx); 153 153 LogRelFlowFunc(("u32Formats=%d\n", u32Formats)); 154 int rc = VbglR3Clipboard WriteFormats(g_ctx.client, u32Formats);154 int rc = VbglR3ClipboardReportFormats(g_ctx.client, u32Formats); 155 155 LogRelFlowFunc(("rc=%Rrc\n", rc)); 156 156 }
Note:
See TracChangeset
for help on using the changeset viewer.