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.
 
 
 
 
 
 

63 lines
1.6 KiB

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