VirtualBox

Ignore:
Timestamp:
Jul 12, 2023 10:55:48 AM (17 months ago)
Author:
vboxsync
Message:

Shared Clipboard: Renamed SharedClipboardWinDataObject::CALLBACKS::pfnTransferStart -> pfnTransferBegin + added pfnTransferEnd, added data object callbacks to propagate transfer end status. bugref:9437

File:
1 edited

Legend:

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

    r100538 r100541  
    220220         * @param   pCbCtx          Pointer to callback context.
    221221         */
    222         DECLCALLBACKMEMBER(int, pfnTransferStart, (PCALLBACKCTX pCbCtx));
     222        DECLCALLBACKMEMBER(int, pfnTransferBegin, (PCALLBACKCTX pCbCtx));
     223        /**
     224         * Called by the data object if a transfer has been ended (succeeded or failed).
     225         *
     226         * @returns VBox status code.
     227         * @param   pCbCtx          Pointer to callback context.
     228         * @param   pTransfer       Pointer to transfer being completed.
     229         * @param   rcTransfer      Result (IPRT-style) code.
     230         */
     231        DECLCALLBACKMEMBER(int, pfnTransferEnd, (PCALLBACKCTX pCbCtx, PSHCLTRANSFER pTransfer, int rcTransfer));
    223232    };
    224233    /** Pointer to a Shared Clipboard Windows data object callback table. */
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