VirtualBox

Changeset 80470 in vbox


Ignore:
Timestamp:
Aug 28, 2019 10:56:45 AM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: Docs.

Location:
trunk
Files:
2 edited

Legend:

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

    r80469 r80470  
    144144/** Sends a list of available formats to the host.
    145145 *  Formely known as VBOX_SHARED_CLIPBOARD_GUEST_FN_REPORT_FORMATS. */
    146 #define VBOX_SHARED_CLIPBOARD_GUEST_FN_FORMATS_WRITE         2
     146#define VBOX_SHARED_CLIPBOARD_GUEST_FN_FORMATS_WRITE          2
    147147/** Reads data in specified format from the host. */
    148148#define VBOX_SHARED_CLIPBOARD_GUEST_FN_DATA_READ              3
     
    150150#define VBOX_SHARED_CLIPBOARD_GUEST_FN_DATA_WRITE             4
    151151
    152 /** */
     152/** Does the actual protocol handshake. If this message is not
     153 *  being sent by the guest, the host handles that particular client
     154 *  with the legacy protocol (v0).
     155 *
     156 *  New since protocol v1. */
    153157#define VBOX_SHARED_CLIPBOARD_GUEST_FN_CONNECT                5
    154158/** Peeks at the next message, returning immediately.
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp

    r80469 r80470  
    7070 * and could only handle simple data (like copied text and so on).
    7171 *
    72  * Since VBox 6.0 a newer protocol (v1) has been established to also support
     72 * Since VBox 6.1 a newer protocol (v1) has been established to also support
    7373 * file transfers. This protocol does not rely on the old ReportMsg() / ReturnMsg()
    7474 * mechanism anymore and uses a (per-client) message queue instead
    7575 * (see VBOX_SHARED_CLIPBOARD_GUEST_FN_GET_HOST_MSG_OLD vs. VBOX_SHARED_CLIPBOARD_GUEST_FN_GET_HOST_MSG).
     76 *
     77 * To distinguish the old (legacy) or new(er) protocol, the VBOX_SHARED_CLIPBOARD_GUEST_FN_CONNECT
     78 * message has been introduced. If an older guest does not send this message,
     79 * protocol v0 will be used by the host by default.
    7680 *
    7781 * The protocol also support out-of-order messages by using so-called "context IDs",
     
    8185 * comes next; the guest side has to reply with the same conext ID which was sent by
    8286 * the host request.
     87 *
     88 * Also see the protocol changelog at VBoxClipboardSvc.h.
    8389 *
    8490 * @section sec_uri_intro               Transferring files
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