Changeset 80470 in vbox
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/VBoxClipboardSvc.h
r80469 r80470 144 144 /** Sends a list of available formats to the host. 145 145 * Formely known as VBOX_SHARED_CLIPBOARD_GUEST_FN_REPORT_FORMATS. */ 146 #define VBOX_SHARED_CLIPBOARD_GUEST_FN_FORMATS_WRITE 2146 #define VBOX_SHARED_CLIPBOARD_GUEST_FN_FORMATS_WRITE 2 147 147 /** Reads data in specified format from the host. */ 148 148 #define VBOX_SHARED_CLIPBOARD_GUEST_FN_DATA_READ 3 … … 150 150 #define VBOX_SHARED_CLIPBOARD_GUEST_FN_DATA_WRITE 4 151 151 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. */ 153 157 #define VBOX_SHARED_CLIPBOARD_GUEST_FN_CONNECT 5 154 158 /** Peeks at the next message, returning immediately. -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r80469 r80470 70 70 * and could only handle simple data (like copied text and so on). 71 71 * 72 * Since VBox 6. 0a newer protocol (v1) has been established to also support72 * Since VBox 6.1 a newer protocol (v1) has been established to also support 73 73 * file transfers. This protocol does not rely on the old ReportMsg() / ReturnMsg() 74 74 * mechanism anymore and uses a (per-client) message queue instead 75 75 * (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. 76 80 * 77 81 * The protocol also support out-of-order messages by using so-called "context IDs", … … 81 85 * comes next; the guest side has to reply with the same conext ID which was sent by 82 86 * the host request. 87 * 88 * Also see the protocol changelog at VBoxClipboardSvc.h. 83 89 * 84 90 * @section sec_uri_intro Transferring files
Note:
See TracChangeset
for help on using the changeset viewer.