CComObjectRootEx Members
Methods
Constructor. |
|
Increments the reference count for a nonaggregated object. |
|
Decrements the reference count for a nonaggregated object. |
|
If the thread model is multithreaded, obtains ownership of a critical section object. |
|
If the thread model is multithreaded, releases ownership of a critical section object. |
CComObjectRootBase Methods
Override in your class to perform any initialization required by your object. |
|
Override in your class to perform any cleanup required by your object. |
|
Increments the reference count for an aggregated object. |
|
Delegates to the outer IUnknown of an aggregated object. |
|
Decrements the reference count for an aggregated object. |
Static Functions
Delegates to the IUnknown of a nonaggregated object. |
|
Called during module initialization and termination for derived classes listed in the object map. |
Data Members
With m_pOuterUnknown, part of a union. Used when the object is not aggregated to hold the reference count of AddRef and Release. |
|
With m_dwRef, part of a union. Used when the object is aggregated to hold a pointer to the outer unknown. |