MFCreateMuxStreamAttributes function (mfapi.h)

Creates an IMFAttributes describing the content of multiplexed substreams.

Syntax

HRESULT MFCreateMuxStreamAttributes(
  [in]  IMFCollection *pAttributesToMux,
  [out] IMFAttributes **ppMuxAttribs
);

Parameters

[in] pAttributesToMux

The collection containing the IMFAttributes for each multiplexed substream.

[out] ppMuxAttribs

The IMFAttributes containing the attributes for the multiplexed substreams.

Return value

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_INVALIDARG
The pAttributesToMux parameter in null.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1703 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header mfapi.h
Library Mfplat.lib
DLL Mfplat.dll