VirtualBox

Ignore:
Timestamp:
Aug 13, 2020 7:16:36 AM (4 years ago)
Author:
vboxsync
Message:

Reverted r139888 to change commit message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp

    r85740 r85741  
    248248
    249249    return GuestDnDBase::i_removeFormats(aFormats);
     250#endif /* VBOX_WITH_DRAG_AND_DROP */
     251}
     252
     253HRESULT GuestDnDTarget::getProtocolVersion(ULONG *aProtocolVersion)
     254{
     255#if !defined(VBOX_WITH_DRAG_AND_DROP)
     256    ReturnComNotImplemented();
     257#else /* VBOX_WITH_DRAG_AND_DROP */
     258
     259    AutoCaller autoCaller(this);
     260    if (FAILED(autoCaller.rc())) return autoCaller.rc();
     261
     262    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
     263
     264    *aProtocolVersion = m_pResp->m_uProtocolVersion;
     265
     266    return S_OK;
    250267#endif /* VBOX_WITH_DRAG_AND_DROP */
    251268}
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