Changeset 80845 in vbox for trunk/include/VBox/HostServices/VBoxClipboardSvc.h
- Timestamp:
- Sep 17, 2019 9:05:21 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 133415
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/VBoxClipboardSvc.h
r80662 r80845 109 109 #define VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS_REPORT 3 110 110 111 /** Initiates a new transfer (read / write) onthe guest side. */112 #define VBOX_SHARED_CLIPBOARD_HOST_MSG_URI_TRANSFER_STA RT50111 /** Sends a transfer status to the guest side. */ 112 #define VBOX_SHARED_CLIPBOARD_HOST_MSG_URI_TRANSFER_STATUS 50 113 113 /** Reads the root list header from the guest. */ 114 114 #define VBOX_SHARED_CLIPBOARD_HOST_MSG_URI_ROOT_LIST_HDR_READ 51 … … 226 226 #define VBOX_SHARED_CLIPBOARD_MAX_CHUNK_SIZE _64K 227 227 228 /**229 * Creates a context ID out of a source ID and and event ID.230 */231 #define VBOX_SHARED_CLIPBOARD_CONTEXTID_MAKE(uSourceID, uEventID) \232 RT_MAKE_U32(uEventID, uSourceID)233 /** Gets the source ID out of a context ID. */234 #define VBOX_SHARED_CLIPBOARD_CONTEXTID_GET_SOURCE(uContextID) \235 RT_HI_U16(uContextID)236 /** Gets the event ID out of a context ID. */237 #define VBOX_SHARED_CLIPBOARD_CONTEXTID_GET_EVENT(uContextID) \238 RT_LO_U16(uContextID)239 240 228 /* 241 229 * HGCM parameter structures. … … 354 342 #define VBOX_SHARED_CLIPBOARD_CPARMS_WRITE_DATA 4 355 343 356 typedef struct _VBoxClipboardTransferReport 344 /** 345 * Reports a transfer status. 346 */ 347 typedef struct _VBoxClipboardTransferStatusMsg 357 348 { 358 349 VBGLIOCHGCMCALL hdr; … … 360 351 /** uint32_t, out: Context ID. */ 361 352 HGCMFunctionParameter uContext; 362 /** uint32_t, out: Status to report. */ 363 HGCMFunctionParameter uStatus; 364 } VBoxClipboardTransferReport; 365 366 #define VBOX_SHARED_CLIPBOARD_CPARMS_TRANSFER_REPORT 2 353 /** uint32_t, out: Direction of transfer; of type SHCLURITRANSFERDIR_. */ 354 HGCMFunctionParameter enmDir; 355 /** uint32_t, out: Status to report; of type SHCLURITRANSFERSTATUS_. */ 356 HGCMFunctionParameter enmStatus; 357 /** uint32_t, out: Result code to report. Optional. */ 358 HGCMFunctionParameter rc; 359 /** uint32_t, out: Reporting flags. Currently unused and must be 0. */ 360 HGCMFunctionParameter fFlags; 361 } VBoxClipboardTransferStatusMsg; 362 363 #define VBOX_SHARED_CLIPBOARD_CPARMS_TRANSFER_STATUS 5 367 364 368 365 /** … … 401 398 402 399 /** 403 * Transfert status message.400 * Status messag for lists and objects. 404 401 */ 405 402 typedef struct _VBoxClipboardStatusMsg … … 419 416 #define VBOX_SHARED_CLIPBOARD_CPARMS_STATUS 4 420 417 418 /** Invalid message type, do not use. */ 421 419 #define VBOX_SHCL_REPLYMSGTYPE_INVALID 0 422 #define VBOX_SHCL_REPLYMSGTYPE_LIST_OPEN 1 423 #define VBOX_SHCL_REPLYMSGTYPE_LIST_CLOSE 2 424 #define VBOX_SHCL_REPLYMSGTYPE_OBJ_OPEN 3 425 #define VBOX_SHCL_REPLYMSGTYPE_OBJ_CLOSE 4 420 /** Replies a transfer status. */ 421 #define VBOX_SHCL_REPLYMSGTYPE_TRANSFER_STATUS 1 422 /** Replies a list open status. */ 423 #define VBOX_SHCL_REPLYMSGTYPE_LIST_OPEN 2 424 /** Replies a list close status. */ 425 #define VBOX_SHCL_REPLYMSGTYPE_LIST_CLOSE 3 426 /** Replies an object open status. */ 427 #define VBOX_SHCL_REPLYMSGTYPE_OBJ_OPEN 4 428 /** Replies an object close status. */ 429 #define VBOX_SHCL_REPLYMSGTYPE_OBJ_CLOSE 5 426 430 427 431 /** … … 444 448 union 445 449 { 450 struct 451 { 452 HGCMFunctionParameter enmStatus; 453 } TransferStatus; 446 454 struct 447 455 { … … 459 467 } VBoxClipboardReplyMsg; 460 468 469 /** Minimum parameters (HGCM function parameters minus the union) a reply message must have. */ 461 470 #define VBOX_SHARED_CLIPBOARD_CPARMS_REPLY_MIN 5 462 471
Note:
See TracChangeset
for help on using the changeset viewer.