Changeset 80866 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray
- Timestamp:
- Sep 17, 2019 3:40:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp
r80862 r80866 94 94 *********************************************************************************************************************************/ 95 95 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 96 static DECLCALLBACK(void) vboxClipboardTransfer TransferCompleteCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc);97 static DECLCALLBACK(void) vboxClipboardTransfer TransferErrorCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc);96 static DECLCALLBACK(void) vboxClipboardTransferCompleteCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc); 97 static DECLCALLBACK(void) vboxClipboardTransferErrorCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc); 98 98 #endif 99 99 … … 160 160 #endif 161 161 162 static void vboxClipboardTransfer TransferCallbackCleanup(PSHCLTRANSFERCALLBACKDATA pData)162 static void vboxClipboardTransferCallbackCleanup(PSHCLTRANSFERCALLBACKDATA pData) 163 163 { 164 164 PSHCLTRANSFERCTX pCtx = (PSHCLTRANSFERCTX)pData->pvUser; … … 183 183 } 184 184 185 static DECLCALLBACK(void) vboxClipboardTransfer TransferCompleteCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc)185 static DECLCALLBACK(void) vboxClipboardTransferCompleteCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc) 186 186 { 187 187 RT_NOREF(rc); … … 191 191 LogRel2(("Shared Clipboard: Transfer to destination complete\n")); 192 192 193 vboxClipboardTransfer TransferCallbackCleanup(pData);194 } 195 196 static DECLCALLBACK(void) vboxClipboardTransfer TransferErrorCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc)193 vboxClipboardTransferCallbackCleanup(pData); 194 } 195 196 static DECLCALLBACK(void) vboxClipboardTransferErrorCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc) 197 197 { 198 198 RT_NOREF(rc); … … 202 202 LogRel(("Shared Clipboard: Transfer to destination failed with %Rrc\n", rc)); 203 203 204 vboxClipboardTransfer TransferCallbackCleanup(pData);205 } 206 207 static int vboxClipboardTransfer TransferOpen(PSHCLPROVIDERCTX pCtx)204 vboxClipboardTransferCallbackCleanup(pData); 205 } 206 207 static int vboxClipboardTransferOpen(PSHCLPROVIDERCTX pCtx) 208 208 { 209 209 RT_NOREF(pCtx); … … 213 213 } 214 214 215 static int vboxClipboardTransfer TransferClose(PSHCLPROVIDERCTX pCtx)215 static int vboxClipboardTransferClose(PSHCLPROVIDERCTX pCtx) 216 216 { 217 217 RT_NOREF(pCtx); … … 969 969 970 970 TransferCallbacks.pvUser = &pCtx->URI; 971 TransferCallbacks.pfnTransferComplete = vboxClipboardTransfer TransferCompleteCallback;972 TransferCallbacks.pfnTransferError = vboxClipboardTransfer TransferErrorCallback;971 TransferCallbacks.pfnTransferComplete = vboxClipboardTransferCompleteCallback; 972 TransferCallbacks.pfnTransferError = vboxClipboardTransferErrorCallback; 973 973 974 974 SharedClipboardTransferSetCallbacks(pTransfer, &TransferCallbacks);
Note:
See TracChangeset
for help on using the changeset viewer.