IRefCount Class

class IRefCount

This class provides methods for reference counting objects. It is used in order to do interface based programming in C++. The AddRef and Release methods it defines have the same signature as IUnknown.

Defined in: RefCount.h

Class Members

virtual ULONG STDMETHODCALLTYPE AddRef()

Add a reference to this object.

virtual ULONG STDMETHODCALLTYPE Release()

Release a reference to this object.