共用方式為


IKsTopologyInfo::get_NodeType

 
Microsoft DirectShow 9.0

IKsTopologyInfo::get_NodeType

This topic applies to Windows XP Service Pack 2 and later.

The get_NodeType method returns the node type for a given node.

Syntax

  HRESULT get_NodeType(
  DWORD  dwNodeId,
  GUID*  pNodeType
);

Parameters

dwNodeId

[in]  Index of the node. To find the number of nodes, call the IKsTopologyInfo::get_NumNodes method.

pNodeType

[out]  Receives a GUID that defines the node type. For a list of node types, see KS Node Types.

Return Values

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

Return code Description
S_OK The method succeeded.

Requirements

Header: Include Vidcap.h.

Library: None.

See Also