Changeset 85740 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Aug 13, 2020 7:14:45 AM (4 years ago)
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp
r85739 r85740 250 250 251 251 return GuestDnDBase::i_removeFormats(aFormats); 252 #endif /* VBOX_WITH_DRAG_AND_DROP */253 }254 255 HRESULT GuestDnDSource::getProtocolVersion(ULONG *aProtocolVersion)256 {257 #if !defined(VBOX_WITH_DRAG_AND_DROP)258 ReturnComNotImplemented();259 #else /* VBOX_WITH_DRAG_AND_DROP */260 261 AutoCaller autoCaller(this);262 if (FAILED(autoCaller.rc())) return autoCaller.rc();263 264 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);265 266 *aProtocolVersion = m_pResp->m_uProtocolVersion;267 268 return S_OK;269 252 #endif /* VBOX_WITH_DRAG_AND_DROP */ 270 253 } -
trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
r85739 r85740 248 248 249 249 return GuestDnDBase::i_removeFormats(aFormats); 250 #endif /* VBOX_WITH_DRAG_AND_DROP */251 }252 253 HRESULT 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;267 250 #endif /* VBOX_WITH_DRAG_AND_DROP */ 268 251 }
Note:
See TracChangeset
for help on using the changeset viewer.