CComObject::AddRef

This method increments the reference count on the object.

Syntax

ULONG AddRef( );

At a Glance

Header file: Atlcom.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComObject Overview, CComObject Methods, CComObject::Release