共用方式為


CComAggObject::Release

Decrements the reference count on the aggregated object.

STDMETHOD_(ULONG, Release)( );

Return Value

In debug builds, Release returns a value that may be useful for diagnostics or testing. In non-debug builds, Release always returns 0.

Requirements

Header: atlcom.h

See Also

Reference

CComAggObject Class

CComAggObject::AddRef