CComCachedTearOffObject Class Members

Methods

AddRef Increments the reference count for a CComCachedTearOffObject object.
CcomCachedTearOffObject Constructor.
FinalConstruct Calls the m_contained::FinalConstruct (the tear-off class' method).
FinalRelease Calls the m_contained::FinalRelease (the tear-off class' method).
QueryInterface Returns a pointer to the IUnknown of the CComCachedTearOffObject object, or to the requested interface on your tear-off class (the class contained).
Release Decrements the reference count for a CComCachedTearOffObject object and destroys it if the reference count is 0.

Data Members

m_contained A CComContainedObject object derived from your tear-off class (the class contained).

CComCachedTearOffObject Overview