CComContainedObject< contained > m_contained;
Parameters
contained
[in] Your class, derived from CComObjectRoot or CComObjectRootEx, as well as from any other interfaces you want to support on the object.
Remarks
A CComContainedObject object derived from your class. All IUnknown calls through m_contained are delegated to the outer unknown.