28 lines
775 B
C++
28 lines
775 B
C++
/*----------------------------------------------------------------------------
|
|
/ Title;
|
|
/ unknown.inc
|
|
/
|
|
/ Authors;
|
|
/ David De Vorchik (daviddv)
|
|
/
|
|
/ Notes;
|
|
/ Magic include file to help with implementing IUnknown
|
|
/----------------------------------------------------------------------------*/
|
|
|
|
|
|
/*----------------------------------------------------------------------------
|
|
/ Macros to handle AddRef & Release (by calling CUnknown methods)
|
|
/----------------------------------------------------------------------------*/
|
|
|
|
STDMETHODIMP_(ULONG) CLASS_NAME::AddRef()
|
|
{
|
|
return CUnknown::HandleAddRef();
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------*/
|
|
|
|
STDMETHODIMP_(ULONG) CLASS_NAME::Release()
|
|
{
|
|
return CUnknown::HandleRelease();
|
|
}
|