MÉTHODE IMFTopology::GetNodeByID (mfidl.h)

Obtient un nœud dans la topologie, spécifié par l’identificateur de nœud.

Syntaxe

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

Paramètres

[in] qwTopoNodeID

Identificateur du nœud à récupérer. Pour obtenir l’identificateur d’un nœud, appelez IMFTopologyNode::GetTopoNodeID.

[out] ppNode

Reçoit un pointeur vers l’interface IMFTopologyNode du nœud. L’appelant doit libérer l’interface.

Valeur retournée

Cette méthode retourne un code HRESULT. Les valeurs possibles sont notamment celles figurant dans le tableau suivant.

Code de retour Description
S_OK
S_OK
MF_E_NOT_FOUND
La topologie ne contient pas de nœud avec cet identificateur.

Spécifications

   
Client minimal pris en charge Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 [applications de bureau uniquement]
Plateforme cible Windows
En-tête mfidl.h
Bibliothèque Mfuuid.lib

Voir aussi

IMFTopology

TOPOID

Topologies