VirtualBox

Ignore:
Timestamp:
Jul 6, 2021 10:55:23 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145548
Message:

VBoxSharedClipboard/win: Replaced SharedClipboardWinAnnounceFormats with SharedClipboardWinClearAndAnnounceFormats that does all the necessary work. Documented hWndClipboardOwnerUs more accurately. bugref:9998

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-win.cpp

    r90050 r90054  
    383383            {
    384384#endif
    385                 int rc = SharedClipboardWinOpen(hWnd);
    386                 if (RT_SUCCESS(rc))
    387                 {
    388                     SharedClipboardWinClear();
    389 
    390                     rc = SharedClipboardWinAnnounceFormats(pWinCtx, fFormats);
    391 
    392                     SharedClipboardWinClose();
    393                 }
    394 
     385                int rc = SharedClipboardWinClearAndAnnounceFormats(pWinCtx, fFormats, hWnd);
    395386                if (RT_FAILURE(rc))
    396387                    LogRel(("Shared Clipboard: Reporting clipboard formats %#x to Windows host failed with %Rrc\n", fFormats, rc));
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