Export (0) Print
Expand All

IMFTransform::GetStreamCount method

Gets the current number of input and output streams on this Media Foundation transform (MFT).

Syntax


HRESULT GetStreamCount(
  [out]  DWORD *pcInputStreams,
  [out]  DWORD *pcOutputStreams
);

Parameters

pcInputStreams [out]

Receives the number of input streams.

pcOutputStreams [out]

Receives the number of output streams.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The number of streams includes unselected streams—that is, streams with no media type or a NULL media type.

This method should not be called with NULL parameters, although in practice some implementations may allow NULL parameters.

If MFT_UNIQUE_METHOD_NAMES is defined before including mftransform.h, this method is renamed MFTGetStreamCount. See Creating Hybrid DMO/MFT Objects.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mftransform.h

Library

Mfuuid.lib

See also

IMFTransform
Media Foundation Transforms

 

 

Community Additions

ADD
Show:
© 2015 Microsoft