共用方式為


IVMRFilterConfig::GetNumberOfStreams

 
Microsoft DirectShow 9.0

IVMRFilterConfig::GetNumberOfStreams

The GetNumberOfStreams method retrieves the number of input streams being mixed.

Syntax

  HRESULT GetNumberOfStreams(

  
  DWORD*
  
  pdwMaxStreams

  );

Parameters

pdwMaxStreams

[out]  Pointer to a double word that receives the number of streams being mixed, which is equal to the number of input pins on the VMR.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return Code Description
E_POINTER PdwMaxStreams is invalid

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also