- Timestamp:
- Jun 19, 2023 10:25:09 AM (18 months ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/SharedClipboard-transfers.h
r100204 r100205 823 823 * All callbacks are optional (hence all returning void). 824 824 */ 825 typedef struct _SHCLTRANSFERCALLBACK TABLE825 typedef struct _SHCLTRANSFERCALLBACKS 826 826 { 827 827 /** … … 877 877 /** Size (in bytes) of data pointer at \a pvUser. */ 878 878 size_t cbUser; 879 } SHCLTRANSFERCALLBACK TABLE;879 } SHCLTRANSFERCALLBACKS; 880 880 /** Pointer to a Shared Clipboard transfer callback table. */ 881 typedef SHCLTRANSFERCALLBACK TABLE*PSHCLTRANSFERCALLBACKS;881 typedef SHCLTRANSFERCALLBACKS *PSHCLTRANSFERCALLBACKS; 882 882 883 883 /** … … 945 945 SHCLTRANSFERCALLBACKCTX CallbackCtx; 946 946 /** The transfer's callback table. */ 947 SHCLTRANSFERCALLBACK TABLECallbacks;947 SHCLTRANSFERCALLBACKS Callbacks; 948 948 /** Opaque pointer to implementation-specific parameters. */ 949 949 void *pvUser; -
trunk/include/VBox/VBoxGuestLib.h
r100204 r100205 605 605 uint32_t cbMaxChunkSize; 606 606 /** Optional callbacks to invoke. */ 607 SHCLTRANSFERCALLBACK TABLECallbacks;607 SHCLTRANSFERCALLBACKS Callbacks; 608 608 } VBGLR3SHCLTRANSFERCTX; 609 609 /** Pointer to a Shared Clipboard transfer context. */ -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp
r100204 r100205 218 218 219 219 /** 220 * @copydoc SHCLTRANSFERCALLBACK TABLE::pfnOnStart220 * @copydoc SHCLTRANSFERCALLBACKS::pfnOnStart 221 221 * 222 222 * Called from VbglR3 (main thread) to notify the IDataObject. … … 268 268 } 269 269 270 /** @copydoc SHCLTRANSFERCALLBACK TABLE::pfnOnCompleted */270 /** @copydoc SHCLTRANSFERCALLBACKS::pfnOnCompleted */ 271 271 static DECLCALLBACK(void) vbtrShClTransferCompletedCallback(PSHCLTRANSFERCALLBACKCTX pCbCtx, int rcCompletion) 272 272 { … … 280 280 } 281 281 282 /** @copydoc SHCLTRANSFERCALLBACK TABLE::pfnOnError */282 /** @copydoc SHCLTRANSFERCALLBACKS::pfnOnError */ 283 283 static DECLCALLBACK(void) vbtrShClTransferErrorCallback(PSHCLTRANSFERCALLBACKCTX pCbCtx, int rcError) 284 284 { … … 647 647 rc = SharedClipboardWinTransferCreateAndSetDataObject(pWinCtx, pCtx, &Callbacks); 648 648 } 649 #else 650 RT_NOREF(rc); 649 651 #endif 650 652 } -
trunk/src/VBox/Additions/x11/VBoxClient/clipboard-x11.cpp
r100204 r100205 105 105 106 106 /** 107 * @copydoc SHCLTRANSFERCALLBACK TABLE::pfnOnRegistered107 * @copydoc SHCLTRANSFERCALLBACKS::pfnOnRegistered 108 108 * 109 109 * This starts the HTTP server if not done yet and registers the transfer with it. … … 166 166 167 167 /** 168 * @copydoc SHCLTRANSFERCALLBACK TABLE::pfnOnUnregistered168 * @copydoc SHCLTRANSFERCALLBACKS::pfnOnUnregistered 169 169 * 170 170 * Unregisters a (now) unregistered transfer from the HTTP server. … … 179 179 180 180 /** 181 * @copydoc SHCLTRANSFERCALLBACK TABLE::pfnOnCompleted181 * @copydoc SHCLTRANSFERCALLBACKS::pfnOnCompleted 182 182 * 183 183 * Unregisters a complete transfer from the HTTP server. … … 191 191 } 192 192 193 /** @copydoc SHCLTRANSFERCALLBACK TABLE::pfnOnError193 /** @copydoc SHCLTRANSFERCALLBACKS::pfnOnError 194 194 * 195 195 * Unregisters a failed transfer from the HTTP server. -
trunk/src/VBox/GuestHost/SharedClipboard/ClipboardDataObjectImpl-win.cpp
r100204 r100205 41 41 42 42 #include <iprt/asm.h> 43 #include <iprt/err .h>43 #include <iprt/errcore.h> 44 44 #include <iprt/path.h> 45 45 #include <iprt/semaphore.h> … … 1173 1173 return rc2; 1174 1174 } 1175 -
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp
r100204 r100205 1440 1440 } 1441 1441 else /* Unset */ 1442 RT_BZERO(pCallbacksDst, sizeof(SHCLTRANSFERCALLBACK TABLE));1442 RT_BZERO(pCallbacksDst, sizeof(SHCLTRANSFERCALLBACKS)); 1443 1443 } 1444 1444 -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-internal.h
r100204 r100205 187 187 SHCLTRANSFERCTX Ctx; 188 188 /** Transfers callbacks to use. */ 189 SHCLTRANSFERCALLBACK TABLECallbacks;189 SHCLTRANSFERCALLBACKS Callbacks; 190 190 } SHCLIENTTRANSFERS, *PSHCLIENTTRANSFERS; 191 191 #endif /* VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS */ -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-win.cpp
r100204 r100205 228 228 } 229 229 230 231 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 230 232 /** 231 * @copydoc SHCLTRANSFERCALLBACK TABLE::pfnOnStart233 * @copydoc SHCLTRANSFERCALLBACKS::pfnOnStart 232 234 * 233 235 * Called on transfer start to notify the "in-flight" IDataObject about a started transfer. … … 271 273 LogFlowFunc(("LEAVE: idTransfer=%RU32, rc=%Rrc\n", ShClTransferGetID(pTransfer), rc)); 272 274 } 275 #endif /* VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS */ 273 276 274 277 static LRESULT CALLBACK vboxClipboardSvcWinWndProcMain(PSHCLCONTEXT pCtx, … … 1004 1007 } 1005 1008 #endif /* VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS */ 1006
Note:
See TracChangeset
for help on using the changeset viewer.