CComObject::AddRef

ULONG AddRef( );

Return Value

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

Remarks

Increments the reference count on the object.

CComObject OverviewClass Members

See Also   CComObject::Release


Send feedback to MSDN.Look here for MSDN Online resources.