VirtualBox

Ignore:
Timestamp:
Feb 19, 2024 1:51:37 PM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161773
Message:

Shared Clipboard: Condensed more code by adding a SHCLTRANSFERCALLBACKS::pfnOnInitialize() callback function. bugref:9437

File:
1 edited

Legend:

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

    r102816 r103442  
    810810 * Shared Clipboard transfer callback table.
    811811 *
    812  * All callbacks are optional (hence all returning void).
     812 * All callbacks are optional.
     813 * Callbacks which can veto the caller have a return value.
    813814 */
    814815typedef struct _SHCLTRANSFERCALLBACKS
     
    820821     */
    821822    DECLCALLBACKMEMBER(void,  pfnOnCreated,(PSHCLTRANSFERCALLBACKCTX pCbCtx));
     823    /**
     824     * Called when the transfer gets initialized.
     825     *
     826     * @return  VBox status code. On error the intialization will will be treated as failed.
     827     * @param   pCbCtx              Pointer to callback context to use.
     828    */
     829    DECLCALLBACKMEMBER(int,  pfnOnInitialize,(PSHCLTRANSFERCALLBACKCTX pCbCtx));
    822830    /**
    823831     * Called after the transfer got initialized.
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