VirtualBox

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


Ignore:
Timestamp:
Jun 21, 2019 10:11:59 AM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: Update.

File:
1 edited

Legend:

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

    r79174 r79267  
    195195     */
    196196    HGCMFunctionParameter cbMeta;          /* OUT uint64_t */
     197    /** Size (in bytes) of meta data format. */
     198    HGCMFunctionParameter cbMetaFmt;       /* OUT uint32_t */
    197199    /** Meta data format. */
    198200    HGCMFunctionParameter pvMetaFmt;       /* OUT ptr */
    199     /** Size (in bytes) of meta data format. */
    200     HGCMFunctionParameter cbMetaFmt;       /* OUT uint32_t */
    201201    /* Number of objects (files/directories) to transfer. */
    202202    HGCMFunctionParameter cObjects;        /* OUT uint64_t */
     
    205205    /** Checksum type. */
    206206    HGCMFunctionParameter enmChecksumType; /* OUT uint32_t */
     207    /** Size (in bytes) of checksum. */
     208    HGCMFunctionParameter cbChecksum;      /* OUT uint32_t */
    207209    /** Checksum buffer for the entire data to be transferred. */
    208210    HGCMFunctionParameter pvChecksum;      /* OUT ptr */
    209     /** Size (in bytes) of checksum. */
    210     HGCMFunctionParameter cbChecksum;      /* OUT uint32_t */
    211211} VBoxClipboardReadDataHdrMsg, VBoxClipboardWriteDataHdrMsg;
    212212
     
    227227    /** Context ID. Unused at the moment. */
    228228    HGCMFunctionParameter uContext;     /* OUT uint32_t */
     229    /** Size (in bytes) of data block to send. */
     230    HGCMFunctionParameter cbData;       /* OUT uint32_t */
    229231    /** Data block to send. */
    230232    HGCMFunctionParameter pvData;       /* OUT ptr */
    231     /** Size (in bytes) of data block to send. */
    232     HGCMFunctionParameter cbData;       /* OUT uint32_t */
     233    /** Size (in bytes) of checksum. */
     234    HGCMFunctionParameter cbChecksum;   /* OUT uint32_t */
    233235    /** (Rolling) Checksum, based on checksum type in data header. */
    234236    HGCMFunctionParameter pvChecksum;   /* OUT ptr */
    235     /** Size (in bytes) of checksum. */
    236     HGCMFunctionParameter cbChecksum;   /* OUT uint32_t */
    237237} VBoxClipboardReadDataChunkMsg, VBoxClipboardWriteDataChunkMsg;
    238238
     
    253253    /** Context ID. Unused at the moment. */
    254254    HGCMFunctionParameter uContext;     /* OUT uint32_t */
     255    /** Size (in bytes) of directory name. */
     256    HGCMFunctionParameter cbName;       /* OUT uint32_t */
    255257    /** Directory name. */
    256258    HGCMFunctionParameter pvName;       /* OUT ptr */
    257     /** Size (in bytes) of directory name. */
    258     HGCMFunctionParameter cbName;       /* OUT uint32_t */
    259259    /** Directory mode. */
    260260    HGCMFunctionParameter fMode;        /* OUT uint32_t */
     
    277277    /** Context ID. Unused at the moment. */
    278278    HGCMFunctionParameter uContext;     /* OUT uint32_t */
     279    /** Size (in bytes) of file path. */
     280    HGCMFunctionParameter cbName;       /* OUT uint32_t */
    279281    /** File path. */
    280282    HGCMFunctionParameter pvName;       /* OUT ptr */
    281     /** Size (in bytes) of file path. */
    282     HGCMFunctionParameter cbName;       /* OUT uint32_t */
    283283    /** Optional flags; unused at the moment. */
    284284    HGCMFunctionParameter uFlags;       /* OUT uint32_t */
     
    305305    /** Context ID. Unused at the moment. */
    306306    HGCMFunctionParameter uContext;     /* OUT uint32_t */
     307    /** Size (in bytes) of current data chunk. */
     308    HGCMFunctionParameter cbData;       /* OUT uint32_t */
    307309    /** Current data chunk. */
    308310    HGCMFunctionParameter pvData;       /* OUT ptr */
    309     /** Size (in bytes) of current data chunk. */
    310     HGCMFunctionParameter cbData;       /* OUT uint32_t */
     311    /** Size (in bytes) of current data chunk checksum. */
     312    HGCMFunctionParameter cbChecksum;   /* OUT uint32_t */
    311313    /** Checksum of data block, based on the checksum
    312314     *  type in the data header. Optional. */
    313315    HGCMFunctionParameter pvChecksum;   /* OUT ptr */
    314     /** Size (in bytes) of curren data chunk checksum. */
    315     HGCMFunctionParameter cbChecksum;   /* OUT uint32_t */
    316316} VBoxClipboardReadFileDataMsg, VBoxClipboardWriteFileDataMsg;
    317317
     
    369369     *  This size also is part of cbTotal already. */
    370370    uint32_t                    cbMeta;
     371    /** Size (in bytes) of meta format buffer.
     372     *  Is sizeof(SHAREDCLIPBOARDMETADATAFMT). */
     373    uint32_t                    cbMetaFmt;
    371374    /** Meta data format.
    372375     *  Is SHAREDCLIPBOARDMETADATAFMT. */
    373376    void                       *pvMetaFmt;
    374     /** Size (in bytes) of meta format buffer.
    375      *  Is sizeof(SHAREDCLIPBOARDMETADATAFMT). */
    376     uint32_t                    cbMetaFmt;
    377377    /** Number of objects (files/directories) to transfer. */
    378378    uint64_t                    cObjects;
     
    382382    /** Checksum type. Currently unused, so specify RTDIGESTTYPE_INVALID. */
    383383    RTDIGESTTYPE                enmChecksumType;
     384    /** Size (in bytes) of checksum. */
     385    uint32_t                    cbChecksum;
    384386    /** The actual checksum buffer for the entire data to be transferred,
    385387     *  based on enmChksumType. If RTDIGESTTYPE_INVALID is specified,
    386388     *  no checksum is being used and pvChecksum will be NULL. */
    387389    void                       *pvChecksum;
    388     /** Size (in bytes) of checksum. */
    389     uint32_t                    cbChecksum;
    390390} VBOXCLIPBOARDDATAHDR, *PVBOXCLIPBOARDDATAHDR;
    391391
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