共用方式為


ISelector::get_NumSources

 
Microsoft DirectShow 9.0

ISelector::get_NumSources

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

The get_NumSources method returns the number of source nodes connected to the selector node.

Syntax

  HRESULT get_NumSources(
  DWORD*  pdwNumSources
);

Parameters

pdwNumSources

[out]  Receives the number of source nodes.

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