Changeset 78317 in vbox for trunk/src/VBox/HostServices/SharedClipboard
- Timestamp:
- Apr 26, 2019 9:44:48 AM (6 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedClipboard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-win.cpp
r78307 r78317 591 591 int rc = VBoxClipboardWinGetFormats(&pCtx->Win, &uFormats); 592 592 if (RT_SUCCESS(rc)) 593 vboxSvcClipboardReportMsg(pCtx->pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_ FORMATS, uFormats);593 vboxSvcClipboardReportMsg(pCtx->pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS, uFormats); 594 594 595 595 return rc; -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp
r78179 r78317 77 77 LogRelFlowFunc(("called. pCtx=%p, u32Formats=%02X\n", pCtx, u32Formats)); 78 78 vboxSvcClipboardReportMsg(pCtx->pClient, 79 VBOX_SHARED_CLIPBOARD_HOST_MSG_ FORMATS,79 VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS, 80 80 u32Formats); 81 81 } … … 149 149 * there is data in the host clipboard it will automatically be sent to 150 150 * the guest when the clipboard starts up. */ 151 vboxSvcClipboardReportMsg(pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_ FORMATS, 0);151 vboxSvcClipboardReportMsg(pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS, 0); 152 152 /** @todo r=andy Check rc code. */ 153 153 return VINF_SUCCESS; -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r78316 r78317 229 229 { 230 230 LogRelFlow(("vboxSvcClipboardReturnMsg: Formats %02X\n", pClient->u32AvailableFormats)); 231 VBoxHGCMParmUInt32Set(&paParms[0], VBOX_SHARED_CLIPBOARD_HOST_MSG_ FORMATS);231 VBoxHGCMParmUInt32Set(&paParms[0], VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS); 232 232 VBoxHGCMParmUInt32Set(&paParms[1], pClient->u32AvailableFormats); 233 233 pClient->fMsgFormats = false; … … 270 270 pClient->fMsgReadData = true; 271 271 } break; 272 case VBOX_SHARED_CLIPBOARD_HOST_MSG_ FORMATS:272 case VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS: 273 273 { 274 274 if ( vboxSvcClipboardMode () != VBOX_SHARED_CLIPBOARD_MODE_HOST_TO_GUEST … … 581 581 if (g_fDelayedAnnouncement) 582 582 { 583 vboxSvcClipboardReportMsg (g_pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_ FORMATS, g_u32DelayedFormats);583 vboxSvcClipboardReportMsg (g_pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS, g_u32DelayedFormats); 584 584 g_fDelayedAnnouncement = false; 585 585 g_u32DelayedFormats = 0; … … 959 959 else 960 960 { 961 vboxSvcClipboardReportMsg (g_pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_ FORMATS, u32Format);961 vboxSvcClipboardReportMsg (g_pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS, u32Format); 962 962 } 963 963 } break;
Note:
See TracChangeset
for help on using the changeset viewer.