CComObject::AddRef

 

Increments the reference count on the object.

Syntax

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

CComObject Class
CComObject::Release