VirtualBox

Changeset 100393 in vbox for trunk/include


Ignore:
Timestamp:
Jul 5, 2023 4:18:02 PM (18 months ago)
Author:
vboxsync
Message:

Shared Clipboard: Made setting the transfer callbacks part of ShClTransferCreate(), otherwise the pfnOnCreated callback won't be called. ​​bugref:9437

Location:
trunk/include/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/SharedClipboard-transfers.h

    r100373 r100393  
    11291129 */
    11301130int ShClTransferCreateEx(SHCLTRANSFERDIR enmDir, SHCLSOURCE enmSource, uint32_t cbMaxChunkSize, uint32_t cMaxListHandles, uint32_t cMaxObjHandles, PSHCLTRANSFER *ppTransfer);
    1131 int ShClTransferCreate(SHCLTRANSFERDIR enmDir, SHCLSOURCE enmSource, PSHCLTRANSFER *ppTransfer);
     1131int ShClTransferCreate(SHCLTRANSFERDIR enmDir, SHCLSOURCE enmSource, PSHCLTRANSFERCALLBACKS pCallbacks, PSHCLTRANSFER *ppTransfer);
    11321132int ShClTransferInit(PSHCLTRANSFER pTransfer);
    11331133int ShClTransferDestroy(PSHCLTRANSFER pTransfer);
     
    11881188PSHCLLISTENTRY ShClTransferListEntryDup(PSHCLLISTENTRY pListEntry);
    11891189
    1190 void ShClTransferCopyCallbacks(PSHCLTRANSFERCALLBACKS pCallbacksDst, PSHCLTRANSFERCALLBACKS pCallbacksSrc);
    1191 void ShClTransferSetCallbacks(PSHCLTRANSFER pTransfer, PSHCLTRANSFERCALLBACKS pCallbacks);
    11921190int ShClTransferSetProvider(PSHCLTRANSFER pTransfer, PSHCLTXPROVIDER pProvider);
    11931191
  • trunk/include/VBox/GuestHost/SharedClipboard.h

    r100328 r100393  
    402402    DECLCALLBACKMEMBER(int, pfnOnSendDataToDest, (PSHCLCONTEXT pCtx, void *pv, uint32_t cb, void *pvUser));
    403403} SHCLCALLBACKS;
     404/** Pointer to a Shared Clipboard callback table. */
    404405typedef SHCLCALLBACKS *PSHCLCALLBACKS;
    405406/** @} */
  • trunk/include/VBox/VBoxGuestLib.h

    r100367 r100393  
    724724#  ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
    725725VBGLR3DECL(int)     VbglR3ClipboardTransferRequest(PVBGLR3SHCLCMDCTX pCmdCtx);
    726 VBGLR3DECL(void)    VbglR3ClipboardTransferSetCallbacks(PSHCLTRANSFERCALLBACKS pCallbacks);
    727726VBGLR3DECL(int)     VbglR3ClipboardEventGetNextEx(uint32_t idMsg, uint32_t cParms, PVBGLR3SHCLCMDCTX pCtx, PSHCLTRANSFERCTX pTransferCtx, PVBGLR3CLIPBOARDEVENT pEvent);
    728727
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette