Changeset 78581 in vbox for trunk/src/VBox/HostServices/SharedClipboard
- Timestamp:
- May 18, 2019 3:48:41 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 130636
- Location:
- trunk/src/VBox/HostServices/SharedClipboard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxClipboard.h
r78580 r78581 49 49 struct { 50 50 VBOXHGCMCALLHANDLE callHandle; 51 VBOXHGCMSVCPARM *paParms;51 VBOXHGCMSVCPARM *paParms; 52 52 } async; 53 53 54 54 struct { 55 55 VBOXHGCMCALLHANDLE callHandle; 56 VBOXHGCMSVCPARM *paParms;56 VBOXHGCMSVCPARM *paParms; 57 57 } asyncRead; 58 58 -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp
r78580 r78581 507 507 } 508 508 509 void ClipAnnounceFormatToX11(CLIPBACKEND *pBackend, uint32_t u32Formats)510 { 511 pBackend->formats = u32Formats;512 } 513 514 extern int ClipRequestDataFromX11(CLIPBACKEND *pBackend, uint32_t u32Format,509 void ClipAnnounceFormatToX11(CLIPBACKEND *pBackend, VBOXCLIPBOARDFORMATS vboxFormats) 510 { 511 pBackend->formats = vboxFormats; 512 } 513 514 extern int ClipRequestDataFromX11(CLIPBACKEND *pBackend, VBOXCLIPBOARDFORMAT vboxFormat, 515 515 CLIPREADCBREQ *pReq) 516 516 { 517 pBackend->readData.format = u32Format;517 pBackend->readData.format = vboxFormat; 518 518 pBackend->readData.pReq = pReq; 519 519 return pBackend->readData.rc; -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r78580 r78581 513 513 uint32_t u32Formats; 514 514 515 rc = VBoxHGCMParmUInt32Get 515 rc = VBoxHGCMParmUInt32Get(&paParms[0], &u32Formats); 516 516 517 517 if (RT_SUCCESS (rc)) … … 562 562 uint32_t cb; 563 563 564 rc = VBoxHGCMParmUInt32Get 564 rc = VBoxHGCMParmUInt32Get(&paParms[0], &u32Format); 565 565 566 566 if (RT_SUCCESS (rc)) 567 567 { 568 rc = VBoxHGCMParmPtrGet 568 rc = VBoxHGCMParmPtrGet(&paParms[1], &pv, &cb); 569 569 570 570 if (RT_SUCCESS (rc)) … … 629 629 else if (RT_SUCCESS (rc)) 630 630 { 631 VBoxHGCMParmUInt32Set 631 VBoxHGCMParmUInt32Set(&paParms[2], cbActual); 632 632 } 633 633 } … … 657 657 uint32_t u32Format; 658 658 659 rc = VBoxHGCMParmUInt32Get 659 rc = VBoxHGCMParmUInt32Get(&paParms[0], &u32Format); 660 660 661 661 if (RT_SUCCESS (rc)) 662 662 { 663 rc = VBoxHGCMParmPtrGet 663 rc = VBoxHGCMParmPtrGet(&paParms[1], &pv, &cb); 664 664 665 665 if (RT_SUCCESS (rc))
Note:
See TracChangeset
for help on using the changeset viewer.