共用方式為


CComTearOffObject::AddRef

Increments the reference count of the CComTearOffObject object by one.

STDMETHOD_(ULONG, AddRef)( );

Return Value

A value that may be useful for diagnostics and testing.

Requirements

Header: atlcom.h

See Also

Reference

CComTearOffObject Class

CComTearOffObject::Release