Changeset 81346 in vbox for trunk/include/VBox
- Timestamp:
- Oct 18, 2019 10:40:15 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134059
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/SharedClipboard.h
r81223 r81346 115 115 typedef SHCLEVENTSOURCEID *PSHCLEVENTSOURCEID; 116 116 117 /** Defines a session ID. */ 118 typedef uint16_t SHCLSESSIONID; 119 /** Defines a pointer to a session ID. */ 120 typedef SHCLSESSIONID *PSHCLSESSIONID; 117 121 /** Defines an event ID. */ 118 122 typedef uint32_t SHCLEVENTID; … … 121 125 122 126 /** Maximum number of concurrent Shared Clipboard client sessions a VM can have. */ 123 #define VBOX_SHCL_MAX_SESSIONS 32127 #define VBOX_SHCL_MAX_SESSIONS UINT16_MAX 124 128 /** Maximum number of concurrent Shared Clipboard transfers a single 125 129 * client can have. */ 126 #define VBOX_SHCL_MAX_TRANSFERS _2K130 #define VBOX_SHCL_MAX_TRANSFERS UINT16_MAX 127 131 /** Maximum number of events a single Shared Clipboard transfer can have. */ 128 #define VBOX_SHCL_MAX_EVENTS _64K129 130 /** 131 * Creates a context ID out of a client ID, a transfer ID and a count .132 #define VBOX_SHCL_MAX_EVENTS UINT32_MAX 133 134 /** 135 * Creates a context ID out of a client ID, a transfer ID and a count (can be an event ID). 132 136 */ 133 137 #define VBOX_SHCL_CONTEXTID_MAKE(uSessionID, uTransferID, uEventID) \ 134 ( (uint 32_t)((uSessionID) & 0x1f) << 27\135 | (uint 32_t)((uTransferID) & 0x7ff) << 16\136 | (uint32_t)((uEventID) & 0xffff )\138 ( (uint64_t)((uSessionID) & 0xffff) << 48 \ 139 | (uint64_t)((uTransferID) & 0xffff) << 32 \ 140 | (uint32_t)((uEventID) & 0xffffffff) \ 137 141 ) 138 142 /** Creates a context ID out of a session ID. */ 139 143 #define VBOX_SHCL_CONTEXTID_MAKE_SESSION(uSessionID) \ 140 ((uint32_t)((uSessionID) & 0x 1f) << 27)144 ((uint32_t)((uSessionID) & 0xffff) << 48) 141 145 /** Gets the session ID out of a context ID. */ 142 146 #define VBOX_SHCL_CONTEXTID_GET_SESSION(uContextID) \ 143 (((uContextID) >> 27) & 0x1f)147 (((uContextID) >> 48) & 0xffff) 144 148 /** Gets the transfer ID out of a context ID. */ 145 149 #define VBOX_SHCL_CONTEXTID_GET_TRANSFER(uContextID) \ 146 (((uContextID) >> 16) & 0x7ff)150 (((uContextID) >> 32) & 0xffff) 147 151 /** Gets the transfer event out of a context ID. */ 148 152 #define VBOX_SHCL_CONTEXTID_GET_EVENT(uContextID) \ 149 ((uContextID) & 0xffff )153 ((uContextID) & 0xffffffff) 150 154 151 155 /** -
trunk/include/VBox/HostServices/VBoxClipboardSvc.h
r81286 r81346 301 301 struct 302 302 { 303 /** uint 32_t, in: Context ID. */303 /** uint64_t, in: Context ID. */ 304 304 HGCMFunctionParameter uContext; 305 305 /** uint32_t, out: VBOX_SHCL_FMT_*. */ … … 318 318 VBGLIOCHGCMCALL hdr; 319 319 320 /** uint 32_t, out: Context ID. */320 /** uint64_t, out: Context ID. */ 321 321 HGCMFunctionParameter uContext; 322 322 /** uint32_t, out: Requested format to read data in. */ … … 366 366 struct 367 367 { 368 /** uint 32_t, out: Context ID. */368 /** uint64_t, out: Context ID. */ 369 369 HGCMFunctionParameter uContext; 370 370 /** uint32_t, out: Requested format to read data in. */ … … 387 387 VBGLIOCHGCMCALL hdr; 388 388 389 /** uint 32_t, out: Context ID. */389 /** uint64_t, out: Context ID. */ 390 390 HGCMFunctionParameter uContext; 391 391 /** uint32_t, out: Direction of transfer; of type SHCLTRANSFERDIR_. */ … … 444 444 VBGLIOCHGCMCALL hdr; 445 445 446 /** uint 32_t, in: Context ID. */446 /** uint64_t, in: Context ID. */ 447 447 HGCMFunctionParameter uContext; 448 448 /** uint32_t, in: Transfer status of type SHCLTRANSFERSTATUS. */ … … 476 476 VBGLIOCHGCMCALL hdr; 477 477 478 /** uint 32_t, out: Context ID. */478 /** uint64_t, out: Context ID. */ 479 479 HGCMFunctionParameter uContext; 480 480 /** uint32_t, out: Message type of type VBOX_SHCL_REPLYMSGTYPE_XXX. */ … … 515 515 typedef struct _VBoxShClRootListParms 516 516 { 517 /** uint 32_t, in: Context ID. s*/517 /** uint64_t, in: Context ID. */ 518 518 HGCMFunctionParameter uContext; 519 519 /** uint32_t, in: Roots listing flags; unused at the moment. */ … … 553 553 typedef struct _VBoxShClRootListEntryParms 554 554 { 555 /** uint 32_t, in: Context ID. */555 /** uint64_t, in: Context ID. */ 556 556 HGCMFunctionParameter uContext; 557 557 /** uint32_t, in: VBOX_SHCL_INFO_FLAG_XXX. */ … … 602 602 VBGLIOCHGCMCALL hdr; 603 603 604 /** uint 32_t, in: Context ID. */604 /** uint64_t, in: Context ID. */ 605 605 HGCMFunctionParameter uContext; 606 606 /** uint32_t, in: Listing flags (see VBOX_SHCL_LIST_FLAG_XXX). */ … … 627 627 VBGLIOCHGCMCALL hdr; 628 628 629 /** uint 32_t, in/out: Context ID. */629 /** uint64_t, in/out: Context ID. */ 630 630 HGCMFunctionParameter uContext; 631 631 /** uint64_t, in: List handle. */ … … 637 637 typedef struct _VBoxShClListHdrReqParms 638 638 { 639 /** uint 32_t, in: Context ID. */639 /** uint64_t, in: Context ID. */ 640 640 HGCMFunctionParameter uContext; 641 641 /** uint64_t, in: List handle. */ … … 677 677 typedef struct _VBoxShClListEntryReqParms 678 678 { 679 /** uint 32_t, in: Context ID. */679 /** uint64_t, in: Context ID. */ 680 680 HGCMFunctionParameter uContext; 681 681 /** uint64_t, in: List handle. */ … … 724 724 VBGLIOCHGCMCALL hdr; 725 725 726 /** uint 32_t, in/out: Context ID. */726 /** uint64_t, in/out: Context ID. */ 727 727 HGCMFunctionParameter uContext; 728 728 /** uint64_t, in/out: Object handle. */ … … 745 745 VBGLIOCHGCMCALL hdr; 746 746 747 /** uint 32_t, in/out: Context ID. */747 /** uint64_t, in/out: Context ID. */ 748 748 HGCMFunctionParameter uContext; 749 749 /** uint64_t, in: SHCLOBJHANDLE of object to close. */ … … 758 758 typedef struct _VBoxShClObjReadReqParms 759 759 { 760 /** uint 32_t, in: Context ID. */760 /** uint64_t, in: Context ID. */ 761 761 HGCMFunctionParameter uContext; 762 762 /** uint64_t, in: SHCLOBJHANDLE of object to write to. */ … … 791 791 VBGLIOCHGCMCALL hdr; 792 792 793 /** uint 32_t, in/out: Context ID. */793 /** uint64_t, in/out: Context ID. */ 794 794 HGCMFunctionParameter uContext; 795 795 /** uint64_t, in/out: SHCLOBJHANDLE of object to write to. */ … … 819 819 VBGLIOCHGCMCALL hdr; 820 820 821 /** uint 32_t, in: Context ID. */821 /** uint64_t, in: Context ID. */ 822 822 HGCMFunctionParameter uContext; 823 823 /** uint32_t, in: The error code (IPRT-style). */ -
trunk/include/VBox/VBoxGuestLib.h
r81025 r81346 604 604 uint32_t uClientID; 605 605 /** IN/OUT: Context ID to retrieve or to use. */ 606 uint 32_t uContextID;606 uint64_t uContextID; 607 607 /** IN: Protocol version to use. */ 608 608 uint32_t uProtocolVer;
Note:
See TracChangeset
for help on using the changeset viewer.