VirtualBox

Ignore:
Timestamp:
Sep 17, 2019 3:40:00 PM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/Transfers: Yet more renaming.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp

    r80862 r80866  
    9494*********************************************************************************************************************************/
    9595#ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
    96 static DECLCALLBACK(void) vboxClipboardTransferTransferCompleteCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc);
    97 static DECLCALLBACK(void) vboxClipboardTransferTransferErrorCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc);
     96static DECLCALLBACK(void) vboxClipboardTransferCompleteCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc);
     97static DECLCALLBACK(void) vboxClipboardTransferErrorCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc);
    9898#endif
    9999
     
    160160#endif
    161161
    162 static void vboxClipboardTransferTransferCallbackCleanup(PSHCLTRANSFERCALLBACKDATA pData)
     162static void vboxClipboardTransferCallbackCleanup(PSHCLTRANSFERCALLBACKDATA pData)
    163163{
    164164    PSHCLTRANSFERCTX pCtx = (PSHCLTRANSFERCTX)pData->pvUser;
     
    183183}
    184184
    185 static DECLCALLBACK(void) vboxClipboardTransferTransferCompleteCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc)
     185static DECLCALLBACK(void) vboxClipboardTransferCompleteCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc)
    186186{
    187187    RT_NOREF(rc);
     
    191191    LogRel2(("Shared Clipboard: Transfer to destination complete\n"));
    192192
    193     vboxClipboardTransferTransferCallbackCleanup(pData);
    194 }
    195 
    196 static DECLCALLBACK(void) vboxClipboardTransferTransferErrorCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc)
     193    vboxClipboardTransferCallbackCleanup(pData);
     194}
     195
     196static DECLCALLBACK(void) vboxClipboardTransferErrorCallback(PSHCLTRANSFERCALLBACKDATA pData, int rc)
    197197{
    198198    RT_NOREF(rc);
     
    202202    LogRel(("Shared Clipboard: Transfer to destination failed with %Rrc\n", rc));
    203203
    204     vboxClipboardTransferTransferCallbackCleanup(pData);
    205 }
    206 
    207 static int vboxClipboardTransferTransferOpen(PSHCLPROVIDERCTX pCtx)
     204    vboxClipboardTransferCallbackCleanup(pData);
     205}
     206
     207static int vboxClipboardTransferOpen(PSHCLPROVIDERCTX pCtx)
    208208{
    209209    RT_NOREF(pCtx);
     
    213213}
    214214
    215 static int vboxClipboardTransferTransferClose(PSHCLPROVIDERCTX pCtx)
     215static int vboxClipboardTransferClose(PSHCLPROVIDERCTX pCtx)
    216216{
    217217    RT_NOREF(pCtx);
     
    969969
    970970               TransferCallbacks.pvUser              = &pCtx->URI;
    971                TransferCallbacks.pfnTransferComplete = vboxClipboardTransferTransferCompleteCallback;
    972                TransferCallbacks.pfnTransferError    = vboxClipboardTransferTransferErrorCallback;
     971               TransferCallbacks.pfnTransferComplete = vboxClipboardTransferCompleteCallback;
     972               TransferCallbacks.pfnTransferError    = vboxClipboardTransferErrorCallback;
    973973
    974974               SharedClipboardTransferSetCallbacks(pTransfer, &TransferCallbacks);
Note: See TracChangeset for help on using the changeset viewer.

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