Changeset 82480 in vbox for trunk/src/VBox
- Timestamp:
- Dec 7, 2019 12:32:57 AM (5 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp
r82462 r82480 51 51 * Structures and Typedefs * 52 52 *********************************************************************************************************************************/ 53 54 typedef struct _SHCLCONTEXT 53 struct SHCLCONTEXT 55 54 { 56 55 /** Pointer to the VBoxClient service environment. */ … … 70 69 SHCLTRANSFERCTX TransferCtx; 71 70 #endif 72 } SHCLCONTEXT, *PSHCLCONTEXT;71 }; 73 72 74 73 … … 579 578 if (lp != NULL) 580 579 { 581 SHCLDATABLOCK dataBlock = { uFormat, lp, (uint32_t)GlobalSize(hClip) }; 580 SHCLDATABLOCK dataBlock; 581 dataBlock.uFormat = uFormat; 582 dataBlock.pvData = lp; 583 dataBlock.cbData = (uint32_t)GlobalSize(hClip); 582 584 583 585 rc = VbglR3ClipboardWriteDataEx(&pEvent->cmdCtx, &dataBlock); … … 599 601 if (uniString != NULL) 600 602 { 601 SHCLDATABLOCK dataBlock = { uFormat, uniString, ((uint32_t)lstrlenW(uniString) + 1) * 2 }; 603 SHCLDATABLOCK dataBlock; 604 dataBlock.uFormat = uFormat; 605 dataBlock.pvData = uniString; 606 dataBlock.cbData = ((uint32_t)lstrlenW(uniString) + 1) * 2; 602 607 603 608 rc = VbglR3ClipboardWriteDataEx(&pEvent->cmdCtx, &dataBlock); … … 623 628 if (lp != NULL) 624 629 { 625 SHCLDATABLOCK dataBlock = { uFormat, lp, (uint32_t)GlobalSize(hClip) }; 630 SHCLDATABLOCK dataBlock; 631 dataBlock.uFormat = uFormat; 632 dataBlock.pvData = lp; 633 dataBlock.cbData = (uint32_t)GlobalSize(hClip); 626 634 627 635 rc = VbglR3ClipboardWriteDataEx(&pEvent->cmdCtx, &dataBlock); -
trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp
r82315 r82480 59 59 * Global clipboard context information. 60 60 */ 61 struct _SHCLCONTEXT61 struct SHCLCONTEXT 62 62 { 63 63 /** Client command context */ … … 166 166 * it can be completed correctly. 167 167 */ 168 struct _CLIPREADCBREQ168 struct CLIPREADCBREQ 169 169 { 170 170 /** The data format that was requested. */ -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-darwin.cpp
r81843 r82480 35 35 *********************************************************************************************************************************/ 36 36 /** Global clipboard context information */ 37 struct _SHCLCONTEXT37 struct SHCLCONTEXT 38 38 { 39 39 /** We have a separate thread to poll for new clipboard content */ -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-win.cpp
r82462 r82480 55 55 static int vboxClipboardSvcWinSyncInternal(PSHCLCONTEXT pCtx); 56 56 57 struct _SHCLCONTEXT57 struct SHCLCONTEXT 58 58 { 59 59 /** Handle for window message handling thread. */ -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp
r82266 r82480 39 39 * Structures and Typedefs * 40 40 *********************************************************************************************************************************/ 41 42 41 /** 43 42 * Global context information used by the host glue for the X11 clipboard backend. 44 43 */ 45 struct _SHCLCONTEXT44 struct SHCLCONTEXT 46 45 { 47 46 /** This mutex is grabbed during any critical operations on the clipboard … … 164 163 165 164 /** Structure describing a request for clipoard data from the guest. */ 166 struct _CLIPREADCBREQ165 struct CLIPREADCBREQ 167 166 { 168 167 /** User-supplied data pointer, based on the request type. */
Note:
See TracChangeset
for help on using the changeset viewer.