Changeset 65123 in vbox
- Timestamp:
- Jan 4, 2017 5:11:32 PM (8 years ago)
- Location:
- trunk/src/VBox/HostServices
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxClipboard-win.cpp
r63549 r65123 790 790 } 791 791 792 int vboxClipboardConnect (VBOXCLIPBOARDCLIENTDATA *pClient, bool) 793 { 792 int vboxClipboardConnect (VBOXCLIPBOARDCLIENTDATA *pClient, bool fHeadless) 793 { 794 NOREF(fHeadless); 794 795 Log(("vboxClipboardConnect\n")); 795 796 … … 1047 1048 * Check that the source string contains CF_HTML struct 1048 1049 * 1049 * @returns @c true if the @source string is in CF_HTML format 1050 * @param pszSource source string. 1051 * 1052 * @returns @c true if the @a pszSource string is in CF_HTML format 1050 1053 */ 1051 1054 static bool IsWindowsHTML(const char *pszSource) -
trunk/src/VBox/HostServices/SharedClipboard/darwin.cpp
r65102 r65123 151 151 * 152 152 * @param pClient Structure containing context information about the guest system 153 * @param fHeadless Whether headless. 153 154 * @returns RT status code 154 155 */ 155 int vboxClipboardConnect (VBOXCLIPBOARDCLIENTDATA *pClient, bool) 156 { 156 int vboxClipboardConnect (VBOXCLIPBOARDCLIENTDATA *pClient, bool fHeadless) 157 { 158 NOREF(fHeadless); 157 159 if (g_ctx.pClient != NULL) 158 160 { -
trunk/src/VBox/HostServices/SharedClipboard/x11-clipboard.cpp
r62876 r65123 250 250 * @param pCtx request context information 251 251 * @param rc the completion status of the request 252 * @param cbActual on successful completion, the number of bytes of data 253 * actually written, on buffer overflow the size of the 254 * buffer needed, ignored otherwise 252 * @param pReq request 253 * @param pv address 254 * @param cb size 255 * 255 256 * @todo change this to deal with the buffer issues rather than offloading 256 257 * them onto the caller 257 258 */ 258 259 void ClipCompleteDataRequestFromX11(VBOXCLIPBOARDCONTEXT *pCtx, int rc, 259 CLIPREADCBREQ *pReq, void *pv, 260 uint32_t cb) 260 CLIPREADCBREQ *pReq, void *pv, uint32_t cb) 261 261 { 262 262 if (cb <= pReq->cb) -
trunk/src/VBox/HostServices/SharedClipboard/x11-stub.cpp
r62489 r65123 49 49 * Enable the shared clipboard - called by the hgcm clipboard subsystem. 50 50 * 51 * @param pClient Structure containing context information about the guest system 51 * @param pClient Structure containing context information about the guest system 52 * @param fHeadless Whether headless. 52 53 * @returns RT status code 53 54 */ 54 int vboxClipboardConnect (VBOXCLIPBOARDCLIENTDATA * /* pClient */,55 bool /* fHeadless */)55 int vboxClipboardConnect (VBOXCLIPBOARDCLIENTDATA *pClient, 56 bool fHeadless) 56 57 { 58 NOREF(pClient, fHeadless); 57 59 LogFlowFunc(("called, returning VINF_SUCCESS.\n")); 58 60 return VINF_SUCCESS; … … 71 73 /** 72 74 * Shut down the shared clipboard subsystem and "disconnect" the guest. 75 * 76 * @param pClient Structure containing context information about the guest system 73 77 */ 74 void vboxClipboardDisconnect (VBOXCLIPBOARDCLIENTDATA * /* pClient */)78 void vboxClipboardDisconnect (VBOXCLIPBOARDCLIENTDATA *pClient) 75 79 { 80 NOREF(pClient); 76 81 LogFlowFunc(("called, returning.\n")); 77 82 } … … 84 89 * @param u32Formats Clipboard formats the guest is offering 85 90 */ 86 void vboxClipboardFormatAnnounce (VBOXCLIPBOARDCLIENTDATA * /* pClient */,87 uint32_t /* u32Formats */)91 void vboxClipboardFormatAnnounce (VBOXCLIPBOARDCLIENTDATA *pClient, 92 uint32_t u32Formats) 88 93 { 94 NOREF(pClient, u32Formats); 89 95 LogFlowFunc(("called, returning.\n")); 90 96 } … … 99 105 * @param pcbActual Where to write the actual size of the written data 100 106 */ 101 int vboxClipboardReadData (VBOXCLIPBOARDCLIENTDATA * /* pClient */, uint32_t /* u32Format */,102 void * /* pv */, uint32_t /* cb */, uint32_t *pcbActual)107 int vboxClipboardReadData (VBOXCLIPBOARDCLIENTDATA *pClient, uint32_t u32Format, 108 void *pv, uint32_t cb, uint32_t *pcbActual) 103 109 { 110 NOREF(pClient, u32Format, pv, cb); 104 111 LogFlowFunc(("called, returning VINF_SUCCESS.\n")); 105 112 /* No data available. */ … … 116 123 * @param u32Format The format of the data written 117 124 */ 118 void vboxClipboardWriteData (VBOXCLIPBOARDCLIENTDATA * /* pClient */, void * /* pv */,119 uint32_t /* cb */, uint32_t /* u32Format */)125 void vboxClipboardWriteData (VBOXCLIPBOARDCLIENTDATA *pClient, void *pv, 126 uint32_t cb, uint32_t u32Format) 120 127 { 128 NOREF(pClient, pv, cb, u32Format); 121 129 LogFlowFunc(("called, returning.\n")); 122 130 } -
trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp
r63619 r65123 149 149 * @param fShflFlags shared folder create flags 150 150 * @param fMode file attributes 151 * @param handleInitial initial handle 151 152 * @retval pfOpen iprt create flags 152 153 */ … … 700 701 * 701 702 * @returns iprt status code (currently VINF_SUCCESS) 702 * @param pszFullPath The path of the file to be looked up 703 * @param pClient client data 704 * @param pszPath The path of the file to be looked up 703 705 * @retval pParms->Result Status of the operation (success or error) 704 706 * @retval pParms->Info On success, information returned about the file … … 757 759 } 758 760 #endif 761 759 762 /** 760 763 * Create or open a file or folder. Perform character set and case -
trunk/src/VBox/HostServices/SharedFolders/vbsfpath.h
r62489 r65123 37 37 * @param ppszHostPath Returned full host path: root prefix + guest path. 38 38 * @param pcbHostPathRoot Length of the root prefix in bytes. Optional, can be NULL. 39 * @param fWildCard Whether the last component may contain 40 * wildcards and thus might require exclusion 41 * from the case correction. 42 * @param fPreserveLastComponent Always exclude the last component from case 43 * correction if set. 39 * @param fu32Options Options. 44 40 * @param pfu32PathFlags VBSF_F_PATH_* flags. Optional, can be NULL. 45 41 */ … … 47 43 PSHFLSTRING pGuestString, uint32_t cbGuestString, 48 44 char **ppszHostPath, uint32_t *pcbHostPathRoot, 49 uint32_t fu32Options, 50 uint32_t *pfu32PathFlags); 45 uint32_t fu32Options, uint32_t *pfu32PathFlags); 51 46 52 47 /** Free the host path returned by vbsfPathGuestToHost.
Note:
See TracChangeset
for help on using the changeset viewer.