VirtualBox

Changeset 100616 in vbox for trunk/include


Ignore:
Timestamp:
Jul 17, 2023 6:22:58 PM (17 months ago)
Author:
vboxsync
Message:

Shared Clipboard: More code for host service error propagation. bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/VBoxClipboardExt.h

    r100615 r100616  
    5050#define VBOX_CLIPBOARD_EXT_FN_DATA_READ            (2)
    5151#define VBOX_CLIPBOARD_EXT_FN_DATA_WRITE           (3)
     52#define VBOX_CLIPBOARD_EXT_FN_ERROR                (4)
    5253
    5354typedef DECLCALLBACKTYPE(int, FNSHCLEXTCALLBACK,(uint32_t u32Function, uint32_t u32Format, void *pvData, uint32_t cbData));
     
    7980                                    pfnCallback;
    8081        } SetCallback;
     82        /** Reports a clipboard error. */
     83        struct
     84        {
     85            /** Clipboard ID. Optional and can be NULL. */
     86            char                   *pszId;
     87            /** User friendly error message. */
     88            char                   *pszMsg;
     89            /** IPRT-style error code. */
     90            int                     rc;
     91        } Error;
    8192    } u;
    8293} SHCLEXTPARMS;
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