共用方式為


IVMRFilterConfig9::GetNumberOfStreams

 
Microsoft DirectShow 9.0

IVMRFilterConfig9::GetNumberOfStreams

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

Syntax

  HRESULT GetNumberOfStreams(
  DWORD*  pdwMaxStreams
);

Parameters

pdwMaxStreams

[out]  Receives the number of streams being mixed, which is equal to the number of input pins on the VMR.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.
E_POINTER PdwMaxStreams is invalid

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also