CComContainedObject::GetControllingUnknown

IUnknown* GetControllingUnknown( );

Return Value

The owner object's IUnknown.

Remarks

Returns the m_pOuterUnknown member pointer (inherited through the Base class) which holds the owner object's IUnknown. This method may be virtual if Base has declared the DECLARE_GET_CONTROLLING_UNKNOWN macro.

CComContainedObject OverviewClass Members

See Also   CComObjectRootEx::m_pOuterUnknown