COMAddObjectReference

DFCOM Function: Adds a reference to an object's interface.

Modules: USE DFCOM

Syntax

result = COMAddObjectReference (iunknown)

iunknown
An IUnKnown interface pointer. Must be of type INTEGER(4) on ia32 processors; INTEGER(8) on ia64 processors.

Results:

The result is of type INTEGER(4). It is the object's current reference count.

See Also:

IUnknown::AddRef in the Win32 SDK