Windows Dev Center

IMFTopology::GetNode method

Gets a node in the topology, specified by index.

Syntax


HRESULT GetNode(
  [in]  WORD            wIndex,
  [out] IMFTopologyNode **ppNode
);

Parameters

wIndex [in]

The zero-based index of the node. To get the number of nodes in the topology, call IMFTopology::GetNodeCount.

ppNode [out]

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

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.

E_INVALIDARG

The index is less than zero.

MF_E_INVALIDINDEX

No node can be found at the index wIndex.

 

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft