共用方式為


CComAggObject::AddRef

Increments the reference count on the aggregated object.

STDMETHOD_(ULONG, AddRef)( );

Return Value

A value that may be useful for diagnostics or testing.

Requirements

Header: atlcom.h

See Also

Reference

CComAggObject Class

CComAggObject::Release