CComContainedObject Class
Visual Studio 2012
This class implements IUnknown by delegating to the owner object's IUnknown.
Important
|
|---|
|
This class and its members cannot be used in applications that execute in the Windows Runtime. |
template< class Base > class CComContainedObject : public Base
ATL uses CComContainedObject in classes CComAggObject, CComPolyObject, and CComCachedTearOffObject. CComContainedObject implements IUnknown by delegating to the owner object's IUnknown. (The owner is either the outer object of an aggregation, or the object for which a tear-off interface is being created.) CComContainedObject calls CComObjectRootEx's OuterQueryInterface, OuterAddRef, and OuterRelease, all inherited through Base.
Important