Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

70 lines
1.7 KiB

#if !defined(CORE__DragDrop_inl__INCLUDED)
#define CORE__DragDrop_inl__INCLUDED
#pragma once
#if 1
#if ENABLE_MSGTABLE_API
/***************************************************************************\
*****************************************************************************
*
* class TargetLock
*
*****************************************************************************
\***************************************************************************/
//------------------------------------------------------------------------------
inline
TargetLock::TargetLock()
{
}
//------------------------------------------------------------------------------
inline
TargetLock::~TargetLock()
{
if (m_fAddRef) {
m_punk->Release();
}
}
/***************************************************************************\
*****************************************************************************
*
* class DuDropTarget
*
*****************************************************************************
\***************************************************************************/
//------------------------------------------------------------------------------
inline
DuDropTarget::DuDropTarget()
{
}
//------------------------------------------------------------------------------
inline BOOL
DuDropTarget::HasSource() const
{
return m_pdoSrc != NULL;
}
//------------------------------------------------------------------------------
inline BOOL
DuDropTarget::HasTarget() const
{
return m_pdtCur != NULL;
}
#endif // ENABLE_MSGTABLE_API
#endif
#endif // CORE__DragDrop_inl__INCLUDED