Compartilhar via


CComContainedObject::GetControllingUnknown

Returns the m_pOuterUnknown member pointer (inherited through the Base class) that holds the owner object's IUnknown.

IUnknown* GetControllingUnknown( );

Return Value

The owner object's IUnknown.

Remarks

This method may be virtual if Base has declared the DECLARE_GET_CONTROLLING_UNKNOWN macro.

Requirements

Header: atlcom.h

See Also

Reference

CComContainedObject Class

CComObjectRootEx::m_pOuterUnknown