VirtualBox

Changeset 78315 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 26, 2019 9:06:32 AM (6 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: Build fix.

Location:
trunk/src/VBox/Additions
Files:
5 edited

Legend:

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

    r78307 r78315  
    7878               int vboxrc = VBoxClipboardWinGetFormats(&pCtx->Win, &uFormats);
    7979               if (RT_SUCCESS(vboxrc))
    80                    vboxrc = VbglR3ClipboardWriteFormats(pCtx->u32ClientID, uFormats);
     80                   vboxrc = VbglR3ClipboardReportFormats(pCtx->u32ClientID, uFormats);
    8181           }
    8282        }
     
    128128               int vboxrc = VBoxClipboardWinGetFormats(pWinCtx, &uFormats);
    129129               if (RT_SUCCESS(vboxrc))
    130                    vboxrc = VbglR3ClipboardWriteFormats(pCtx->u32ClientID, uFormats);
     130                   vboxrc = VbglR3ClipboardReportFormats(pCtx->u32ClientID, uFormats);
    131131           }
    132132
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp

    r78308 r78315  
    154154
    155155/**
    156  * Writes (advertises) guest clipboard formats to the host.
     156 * Reports (advertises) guest clipboard formats to the host.
    157157 *
    158158 * @returns VBox status code.
     
    160160 * @param   fFormats        The formats to advertise.
    161161 */
    162 VBGLR3DECL(int) VbglR3ClipboardWriteFormats(HGCMCLIENTID idClient, uint32_t fFormats)
     162VBGLR3DECL(int) VbglR3ClipboardReportFormats(HGCMCLIENTID idClient, uint32_t fFormats)
    163163{
    164164    VBoxClipboardWriteFormats Msg;
    165165
    166     VBGL_HGCM_HDR_INIT(&Msg.hdr, idClient, VBOX_SHARED_CLIPBOARD_FN_WRITE_FORMATS, 1);
     166    VBGL_HGCM_HDR_INIT(&Msg.hdr, idClient, VBOX_SHARED_CLIPBOARD_FN_REPORT_FORMATS, 1);
    167167    VbglHGCMParmUInt32Set(&Msg.formats, fFormats);
    168168
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceClipboard-os2.cpp

    r78307 r78315  
    611611    }
    612612    VGSvcVerbose(4, "clipboard: reporting fFormats=%#x\n", fFormats);
    613     VbglR3ClipboardWriteFormats(g_u32ClientId, fFormats);
     613    VbglR3ClipboardReportFormats(g_u32ClientId, fFormats);
    614614}
    615615
     
    658658                g_fEmptyClipboard = true;
    659659                VGSvcVerbose(3, "Reporting empty clipboard\n");
    660                 VbglR3ClipboardWriteFormats(g_u32ClientId, 0);
     660                VbglR3ClipboardReportFormats(g_u32ClientId, 0);
    661661            }
    662662        }
     
    681681    g_fEmptyClipboard = true;
    682682    VGSvcVerbose(3, "Reporting empty clipboard\n");
    683     VbglR3ClipboardWriteFormats(g_u32ClientId, 0);
     683    VbglR3ClipboardReportFormats(g_u32ClientId, 0);
    684684
    685685    vgsvcClipboardOs2PollViewer();
  • trunk/src/VBox/Additions/haiku/VBoxTray/VBoxClipboard.cpp

    r78307 r78315  
    345345            be_clipboard->Unlock();
    346346
    347             VbglR3ClipboardWriteFormats(fClientId, formats);
     347            VbglR3ClipboardReportFormats(fClientId, formats);
    348348            break;
    349349        }
  • trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp

    r78307 r78315  
    152152    RT_NOREF1(pCtx);
    153153    LogRelFlowFunc(("u32Formats=%d\n", u32Formats));
    154     int rc = VbglR3ClipboardWriteFormats(g_ctx.client, u32Formats);
     154    int rc = VbglR3ClipboardReportFormats(g_ctx.client, u32Formats);
    155155    LogRelFlowFunc(("rc=%Rrc\n", rc));
    156156}
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