VirtualBox

Changeset 100564 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 13, 2023 1:29:48 PM (19 months ago)
Author:
vboxsync
Message:

Shared Clipboard: Use vbglR3ClipboardTransferStatusReplyEx() instead of VbglR3ClipboardWriteError() for transfer handling, so that we have a valid context on the host side (transfer ID, event(s), ++). bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp

    r100549 r100564  
    26732673            && RT_FAILURE(rc))
    26742674        {
    2675             /* Report error back to the host. */
    2676             int rc2 = VbglR3ClipboardWriteError(pCmdCtx->idClient, rc);
     2675            /* Report transfer-specific error back to the host. */
     2676            int rc2 = vbglR3ClipboardTransferStatusReplyEx(pCmdCtx, pCmdCtx->idContext, SHCLTRANSFERSTATUS_ERROR, rc);
    26772677            AssertRC(rc2);
    26782678        }
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