VirtualBox

Changeset 100612 in vbox for trunk/include/VBox/HostServices


Ignore:
Timestamp:
Jul 17, 2023 5:45:04 PM (17 months ago)
Author:
vboxsync
Message:

Shared Clipboard/Main: Made SHCLEXTPARMS a little more flexible (only was used by the VRDP console stuff before). bugref:9437

File:
1 edited

Legend:

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

    r98103 r100612  
    5353typedef FNVRDPCLIPBOARDEXTCALLBACK *PFNVRDPCLIPBOARDEXTCALLBACK;
    5454
     55/**
     56 * Structure for holding Shared Clipboard service extension parameters.
     57 */
    5558typedef struct _SHCLEXTPARMS
    5659{
    57     uint32_t                        uFormat;
    5860    union
    5961    {
    60         void                       *pvData;
    61         PFNVRDPCLIPBOARDEXTCALLBACK pfnCallback;
     62        /** Reports clipboard formats. */
     63        struct
     64        {
     65            SHCLFORMATS             uFormats;
     66        } ReportFormats;
     67        /** Reads / writes clipboard data. */
     68        struct
     69        {
     70            SHCLFORMAT              uFormat;
     71            void                   *pvData;
     72            uint32_t                cbData;
     73        } ReadWriteData;
     74        /** Sets a read / write callback. */
     75        struct
     76        {
     77            PFNVRDPCLIPBOARDEXTCALLBACK
     78                                    pfnCallback;
     79        } SetCallback;
    6280    } u;
    63     uint32_t   cbData;
    6481} SHCLEXTPARMS;
     82/** Pointer to Shared Clipboard service extension parameters. */
     83typedef SHCLEXTPARMS *PSHCLEXTPARMS;
    6584
    6685#endif /* !VBOX_INCLUDED_HostServices_VBoxClipboardExt_h */
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