VirtualBox

Changeset 82513 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Dec 9, 2019 1:21:55 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135366
Message:

SharedClipboardSvc,Vbgl: Reviewed and adjusted the handling of the VBOX_SHCL_GUEST_FN_REPORT_FORMATS message, paddling back the parameter changes from the 6.1 dev cycle and fixing a couple of bugs introduced. Also documented the message and renamed it to a more sensible name. Dropped the new Vbgl method, renaming the old one. bugref:9437

File:
1 edited

Legend:

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

    r82507 r82513  
    256256                    if (RT_SUCCESS(rc))
    257257                    {
    258                         LogFunc(("WM_CLIPBOARDUPDATE: Reporting formats 0x%x\n", Formats.Formats));
    259                         rc = VbglR3ClipboardFormatsReportEx(&pCtx->CmdCtx, &Formats);
     258                        LogFunc(("WM_CLIPBOARDUPDATE: Reporting formats %#x\n", Formats.Formats));
     259                        rc = VbglR3ClipboardReportFormats(pCtx->CmdCtx.uClientID, Formats.Formats);
    260260                    }
    261261                }
     
    301301                    SHCLFORMATDATA Formats;
    302302                    rc = SharedClipboardWinGetFormats(pWinCtx, &Formats);
    303                     if (RT_SUCCESS(rc)
     303                    if (   RT_SUCCESS(rc)
    304304                        && Formats.Formats != VBOX_SHCL_FMT_NONE)
    305                     {
    306                         rc = VbglR3ClipboardFormatsReportEx(&pCtx->CmdCtx, &Formats);
    307                     }
     305                        rc = VbglR3ClipboardReportFormats(pCtx->CmdCtx.uClientID, Formats.Formats);
    308306                }
    309307                else
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