RefCountImpl_T Class

class RefCountImpl_T

Template to implement reference counting for an interface. This class derives itself from the template parameter passed in and overrides AddRef and Release.

Defined in: CppIface.h

Class Members

RefCountImpl_T()

Constructor to set reference count to zero.

ULONG STDMETHODCALLTYPE  AddRef()

Constructor to set reference count to zero.

ULONG STDMETHODCALLTYPE  Release()

Constructor to set reference count to zero.

ULONG m_ulRefCount

Stores reference count for object.