VirtualBox

Changeset 81747 in vbox for trunk/include


Ignore:
Timestamp:
Nov 8, 2019 8:31:57 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134534
Message:

Shared Clipboard/Transfers: Build fix, forgot some files.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/SharedClipboard.h

    r81444 r81747  
    119119/** Defines a pointer to a session ID. */
    120120typedef SHCLSESSIONID *PSHCLSESSIONID;
     121/** Defines a NIL session ID. */
     122#define NIL_SHCLSESSIONID                        UINT16_MAX
     123
     124/** Defines a transfer ID. */
     125typedef uint16_t     SHCLTRANSFERID;
     126/** Defines a pointer to a transfer ID. */
     127typedef SHCLTRANSFERID *PSHCLTRANSFERID;
     128/** Defines a NIL transfer ID. */
     129#define NIL_SHCLTRANSFERID                       UINT16_MAX
     130
    121131/** Defines an event ID. */
    122132typedef uint32_t     SHCLEVENTID;
    123133/** Defines a pointer to a event source ID. */
    124134typedef SHCLEVENTID *PSHCLEVENTID;
     135/** Defines a NIL event ID. */
     136#define NIL_SHCLEVENTID                          UINT32_MAX
    125137
    126138/** 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
    128140/** Maximum number of concurrent Shared Clipboard transfers a single
    129141 *  client can have. */
    130 #define VBOX_SHCL_MAX_TRANSFERS                  UINT16_MAX
     142#define VBOX_SHCL_MAX_TRANSFERS                  UINT16_MAX - 1
    131143/** 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
    133145
    134146/**
  • trunk/include/VBox/HostServices/VBoxClipboardSvc.h

    r81559 r81747  
    11681168} SHCLERRORDATA, *PSHCLERRORDATA;
    11691169
     1170/** Opaque client structure for API access. */
     1171struct _SHCLCLIENT;
     1172typedef struct _SHCLCLIENT SHCLCLIENT, *PSHCLCLIENT;
     1173
     1174/** Opaque client structure for API access. */
     1175struct _SHCLCLIENTCMDCTX;
     1176typedef 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 */
     1182int ShClSvcDataReadRequest(PSHCLCLIENT pClient, PSHCLDATAREQ pDataReq, PSHCLEVENTID puEvent);
     1183int ShClSvcDataReadSignal(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx, PSHCLDATABLOCK pData);
     1184int ShClSvcFormatsReport(PSHCLCLIENT pClient, PSHCLFORMATDATA pFormats);
     1185/** @} */
     1186
    11701187uint32_t ShClSvcGetMode(void);
    11711188bool ShClSvcGetHeadless(void);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette