CODLinkComponent::GetNodesAdjacent

int CODLinkComponent::GetNodesAdjacent(IODNode** ppINode1, IODNode** ppINode2)

Get the nodes adjacent to this edge.

Defined in: OdLinkComp.cpp

Return Value

Count of the number of adjacent nodes = {0,1,2}

Parameters

ppINode1

Address of interface pointer for first node.

ppINode2

Address of interface pointer for second node.

Comments

The interface pointers are AddRef'd before the function returns. It is the caller's responsibility to call Release() on the interface pointer when it they are no longer needed.