VirtualBox

Changeset 80318 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Aug 16, 2019 9:13:49 AM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: More work on context IDs and entry list handling.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r79702 r80318  
    218218    static int Thread(RTTHREAD hThread, void *pvUser);
    219219
     220    int readDir(PSHAREDCLIPBOARDURITRANSFER pTransfer, const Utf8Str &strPath);
     221
    220222    int copyToHGlobal(const void *pvData, size_t cbData, UINT fFlags, HGLOBAL *phGlobal);
    221223    int createFileGroupDescriptorFromTransfer(PSHAREDCLIPBOARDURITRANSFER pTransfer,
     
    249251    IStream                    *m_pStream;
    250252    ULONG                       m_uObjIdx;
    251     /** List of (cached) file system root objects. */
    252     FsObjEntryList              m_lstRootEntries;
     253    /** List of (cached) file system objects. */
     254    FsObjEntryList              m_lstEntries;
    253255    /** Event being triggered when reading the transfer list been completed. */
    254256    RTSEMEVENT                  m_EventListComplete;
  • trunk/include/VBox/HostServices/VBoxClipboardSvc.h

    r80283 r80318  
    198198    RT_LO_U16(uContextID)
    199199
     200/**
     201 * Structure for keeping a Shared Clipboard HGCM message context.
     202 */
     203typedef struct _VBOXSHCLMSGCTX
     204{
     205    /** Context ID. */
     206    uint32_t uContextID;
     207} VBOXSHCLMSGCTX, *PVBOXSHCLMSGCTX;
     208
    200209/*
    201210 * HGCM parameter structures.
     
    261270    VBGLIOCHGCMCALL hdr;
    262271
    263     /** uint32_t, out: Context ID. Unused at the moment. */
     272    /** uint32_t, out: Context ID. */
    264273    HGCMFunctionParameter uContext;
    265274    /** uint32_t, out: Status to report. */
     
    310319    VBGLIOCHGCMCALL hdr;
    311320
    312     /** uint32_t, in: Context ID. Unused at the moment. */
     321    /** uint32_t, in: Context ID. */
    313322    HGCMFunctionParameter uContext;
    314323    /** uint32_t, in: Transfer status of type SHAREDCLIPBOARDURITRANSFERSTATUS. */
     
    335344    VBGLIOCHGCMCALL hdr;
    336345
    337     /** uint32_t, out: Context ID. Unused at the moment. */
     346    /** uint32_t, out: Context ID. */
    338347    HGCMFunctionParameter uContext;
    339348    /** uint32_t, out: Message type of type VBOX_SHAREDCLIPBOARD_REPLYMSGTYPE_XXX. */
     
    452461    VBGLIOCHGCMCALL hdr;
    453462
    454     /** uint32_t, in: Context ID. Unused at the moment. */
     463    /** uint32_t, in: Context ID. */
    455464    HGCMFunctionParameter uContext;
    456465    /** uint32_t, in: Listing flags (see VBOX_SHAREDCLIPBOARD_LIST_FLAG_XXX). */
     
    477486    VBGLIOCHGCMCALL hdr;
    478487
    479     /** uint32_t, in/out: Context ID. Unused at the moment. */
     488    /** uint32_t, in/out: Context ID. */
    480489    HGCMFunctionParameter uContext;
    481490    /** uint64_t, in: List handle. */
     
    487496typedef struct _VBoxClipboardListHdrReqParms
    488497{
    489     /** uint32_t, in: Context ID. Unused at the moment. */
     498    /** uint32_t, in: Context ID. */
    490499    HGCMFunctionParameter uContext;
    491500    /** uint64_t, in: List handle. */
     
    531540typedef struct _VBoxClipboardListEntryReqParms
    532541{
    533     /** uint32_t, in: Context ID. Unused at the moment. */
     542    /** uint32_t, in: Context ID. */
    534543    HGCMFunctionParameter uContext;
    535544    /** uint64_t, in: List handle. */
     
    575584    VBGLIOCHGCMCALL hdr;
    576585
    577     /** uint32_t, in/out: Context ID. Unused at the moment. */
     586    /** uint32_t, in/out: Context ID. */
    578587    HGCMFunctionParameter uContext;
    579588    /** uint64_t, in/out: Object handle. */
     
    595604    VBGLIOCHGCMCALL hdr;
    596605
    597     /** uint32_t, in/out: Context ID. Unused at the moment. */
     606    /** uint32_t, in/out: Context ID. */
    598607    HGCMFunctionParameter uContext;
    599608    /** uint64_t, in: SHAREDCLIPBOARDOBJHANDLE of object to close. */
     
    605614typedef struct _VBoxClipboardObjReadReqParms
    606615{
    607     /** uint32_t, in: Context ID. Unused at the moment. */
     616    /** uint32_t, in: Context ID. */
    608617    HGCMFunctionParameter uContext;
    609618    /** uint64_t, in: SHAREDCLIPBOARDOBJHANDLE of object to write to. */
     
    635644    VBGLIOCHGCMCALL hdr;
    636645
    637     /** uint32_t, in/out: Context ID. Unused at the moment. */
     646    /** uint32_t, in/out: Context ID. */
    638647    HGCMFunctionParameter uContext;
    639648    /** uint64_t, in/out: SHAREDCLIPBOARDOBJHANDLE of object to write to. */
     
    663672    VBGLIOCHGCMCALL hdr;
    664673
    665     /** uint32_t, in: Context ID. Unused at the moment. */
     674    /** uint32_t, in: Context ID. */
    666675    HGCMFunctionParameter uContext;
    667676    /** uint32_t, in: The error code (IPRT-style). */
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