Changeset 81747 in vbox for trunk/include
- Timestamp:
- Nov 8, 2019 8:31:57 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134534
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/SharedClipboard.h
r81444 r81747 119 119 /** Defines a pointer to a session ID. */ 120 120 typedef SHCLSESSIONID *PSHCLSESSIONID; 121 /** Defines a NIL session ID. */ 122 #define NIL_SHCLSESSIONID UINT16_MAX 123 124 /** Defines a transfer ID. */ 125 typedef uint16_t SHCLTRANSFERID; 126 /** Defines a pointer to a transfer ID. */ 127 typedef SHCLTRANSFERID *PSHCLTRANSFERID; 128 /** Defines a NIL transfer ID. */ 129 #define NIL_SHCLTRANSFERID UINT16_MAX 130 121 131 /** Defines an event ID. */ 122 132 typedef uint32_t SHCLEVENTID; 123 133 /** Defines a pointer to a event source ID. */ 124 134 typedef SHCLEVENTID *PSHCLEVENTID; 135 /** Defines a NIL event ID. */ 136 #define NIL_SHCLEVENTID UINT32_MAX 125 137 126 138 /** Maximum number of concurrent Shared Clipboard client sessions a VM can have. */ 127 #define VBOX_SHCL_MAX_SESSIONS UINT16_MAX 139 #define VBOX_SHCL_MAX_SESSIONS UINT16_MAX - 1 128 140 /** Maximum number of concurrent Shared Clipboard transfers a single 129 141 * client can have. */ 130 #define VBOX_SHCL_MAX_TRANSFERS UINT16_MAX 142 #define VBOX_SHCL_MAX_TRANSFERS UINT16_MAX - 1 131 143 /** Maximum number of events a single Shared Clipboard transfer can have. */ 132 #define VBOX_SHCL_MAX_EVENTS UINT32_MAX 144 #define VBOX_SHCL_MAX_EVENTS UINT32_MAX - 1 133 145 134 146 /** -
trunk/include/VBox/HostServices/VBoxClipboardSvc.h
r81559 r81747 1168 1168 } SHCLERRORDATA, *PSHCLERRORDATA; 1169 1169 1170 /** Opaque client structure for API access. */ 1171 struct _SHCLCLIENT; 1172 typedef struct _SHCLCLIENT SHCLCLIENT, *PSHCLCLIENT; 1173 1174 /** Opaque client structure for API access. */ 1175 struct _SHCLCLIENTCMDCTX; 1176 typedef struct _SHCLCLIENTCMDCTX SHCLCLIENTCMDCTX, *PSHCLCLIENTCMDCTX; 1177 1178 /** @name Public service functions, accessible by the backends. 1179 * Locking is between the (host) service thread and the platform-dependent (window) thread. 1180 * @{ 1181 */ 1182 int ShClSvcDataReadRequest(PSHCLCLIENT pClient, PSHCLDATAREQ pDataReq, PSHCLEVENTID puEvent); 1183 int ShClSvcDataReadSignal(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx, PSHCLDATABLOCK pData); 1184 int ShClSvcFormatsReport(PSHCLCLIENT pClient, PSHCLFORMATDATA pFormats); 1185 /** @} */ 1186 1170 1187 uint32_t ShClSvcGetMode(void); 1171 1188 bool ShClSvcGetHeadless(void);
Note:
See TracChangeset
for help on using the changeset viewer.