共用方式為


CComObjectRootEx::OuterAddRef

Increments the reference count of the outer unknown of an aggregation.

ULONG OuterAddRef( );

Return Value

A value that may be useful for diagnostics and testing.

Requirements

Header: atlcom.h

See Also

Concepts

CComObjectRootEx Class

CComObjectRootEx Members

CComObjectRootEx::OuterRelease

CComObjectRootEx::OuterQueryInterface