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

Reference

CComObject Class

CComObject::Release

Other Resources

CComObject Members