IDebugHostContext::AddRef method (dbgmodel.h)

Increments the reference count for an interface on an object. This method should be called for every new copy of a pointer to an interface on an object.

For more information, see IUnknown::AddRef and Introduction to COM.

Syntax

ULONG AddRef();

Return value

This method returns ULONG.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDebugHostContext interface