VirtualBox

Changeset 100507 in vbox


Ignore:
Timestamp:
Jul 11, 2023 11:09:11 AM (20 months ago)
Author:
vboxsync
Message:

Shared Clipboard: Also propagate stream object errors to the Windows data object (parent). bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/ClipboardStreamImpl-win.cpp

    r100434 r100507  
    234234    }
    235235
    236     LogFlowThisFunc(("Leave: rc=%Rrc, cbSize=%RU64, cbProcessed=%RU64 -> nBytesToRead=%RU32, cbToRead=%RU32, cbRead=%RU32\n",
     236    if (RT_FAILURE(rc))
     237    {
     238        if (m_pParent)
     239            m_pParent->SetStatus(SharedClipboardWinDataObject::Error, rc /* Propagate rc */);
     240    }
     241
     242    LogFlowThisFunc(("LEAVE: rc=%Rrc, cbSize=%RU64, cbProcessed=%RU64 -> nBytesToRead=%RU32, cbToRead=%RU32, cbRead=%RU32\n",
    237243                     rc, cbSize, m_cbProcessed, nBytesToRead, cbToRead, cbRead));
    238244
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