VirtualBox

Changeset 90054 in vbox for trunk/include/VBox/GuestHost


Ignore:
Timestamp:
Jul 6, 2021 10:55:23 AM (4 years ago)
Author:
vboxsync
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/include/VBox/GuestHost/SharedClipboard-win.h

    r85121 r90054  
    111111    /** Window handle which is next to us in the clipboard chain. */
    112112    HWND               hWndNextInChain;
    113     /** Window handle of the clipboard owner *if* we are the owner. */
     113    /** Window handle of the clipboard owner *if* we are the owner.
     114     * @todo r=bird: Ignore the misleading statement above.  This is only set to
     115     * NULL by the initialization code and then it's set to the clipboard owner
     116     * after we announce data to the clipboard.  So, essentially this will be our
     117     * windows handle or NULL.  End of story. */
    114118    HWND               hWndClipboardOwnerUs;
    115119    /** Structure for maintaining the new clipboard API. */
     
    152156int SharedClipboardWinHandleWMTimer(PSHCLWINCTX pWinCtx);
    153157
    154 int SharedClipboardWinAnnounceFormats(PSHCLWINCTX pWinCtx, SHCLFORMATS fFormats);
     158int SharedClipboardWinClearAndAnnounceFormats(PSHCLWINCTX pWinCtx, SHCLFORMATS fFormats, HWND hWnd);
    155159#ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
    156160int SharedClipboardWinTransferCreate(PSHCLWINCTX pWinCtx, PSHCLTRANSFER pTransfer);
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