windows-nt/Source/XPSP1/NT/printscan/ui/shellext/inc/unknown.inc
2020-09-26 16:20:57 +08:00

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();
}