VirtualBox

Changeset 93499 in vbox for trunk/include/VBox/GuestHost


Ignore:
Timestamp:
Jan 31, 2022 1:59:38 PM (3 years ago)
Author:
vboxsync
Message:

Shared Clipboard: Implemented backend callbacks and a dedicated backend context, together with a new testcase which mocks HGCM to also test the guest-side clipboard code (disabled by default for now). Work in progress, only tested on Linux so far [Doxygen fix].

File:
1 edited

Legend:

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

    r93495 r93499  
    259259     * @param   pCtx            Opaque context pointer for the glue code.
    260260     * @param   fFormats        The formats available.
     261     * @param   pvUser          Implementation-dependent pointer to data for fullfilling the request.
     262     *                          Optional and can be NULL.
    261263     */
    262264    DECLCALLBACKMEMBER(int, pfnReportFormats, (PSHCLCONTEXT pCtx, SHCLFORMATS fFormats, void *pvUser));
     
    320322     * Callback for sending clipboard data to the destination.
    321323     *
    322      * @note On X11:
    323      *         (see @a rcCompletion)
    324      *
    325324     * @returns VBox status code.
    326325     * @param   pCtx            Opaque context pointer for the glue code.
     
    328327     * @param   cb              The size of the data in @a pv.
    329328     * @param   pvUser          Implementation-dependent pointer to data for fullfilling the request.
    330      *                          Optional and can be NULL.
     329     *                          Optional and can be NUL
     330     *                          On X11: Of type PSHCLX11READDATAREQ.
    331331     */
    332332    DECLCALLBACKMEMBER(int, pfnOnSendDataToDest, (PSHCLCONTEXT pCtx, void *pv, uint32_t cb, void *pvUser));
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