Partager via


CComObject::AddRef

Increments the reference count on the object.

STDMETHOD_(ULONG, AddRef)( );

Return Value

This function returns the new incremented reference count on the object. This value may be useful for diagnostics or testing.

Requirements

Header: atlcom.h

See Also

Concepts

CComObject Class

CComObject Members

CComObject::Release