IMFTopology::GetNodeByID method

Gets a node in the topology, specified by node identifier.

Syntax


HRESULT GetNodeByID(
  [in]  TOPOID          qwTopoNodeID,
  [out] IMFTopologyNode **ppNode
);

Parameters

qwTopoNodeID [in]

The identifier of the node to retrieve. To get a node's identifier, call IMFTopologyNode::GetTopoNodeID.

ppNode [out]

Receives a pointer to the node's IMFTopologyNode interface. The caller must release the interface.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

MF_E_NOT_FOUND

The topology does not contain a node with this identifier.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mfuuid.lib

See also

Topologies
IMFTopology
TOPOID

 

 

Show: