IVMRFilterConfig9::GetNumberOfStreams method

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

Syntax


HRESULT GetNumberOfStreams(
  [out] 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 value

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

Return codeDescription
S_OK

The method succeeded.

E_POINTER

PdwMaxStreams is invalid

 

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Vmr9.h

Library

Strmiids.lib

See also

Using the Video Mixing Renderer
IVMRFilterConfig9 Interface

 

 

Show: