MFCreateMuxStreamMediaType function (mfapi.h)
Creates an IMFMediaType describing the media types of multiplexed substreams.
Syntax
HRESULT MFCreateMuxStreamMediaType(
[in] IMFCollection *pMediaTypesToMux,
[out] IMFMediaType **ppMuxMediaType
);
Parameters
[in] pMediaTypesToMux
The collection containing the IMFMediaType for each multiplexed substream.
[out] ppMuxMediaType
The IMFMediaType containing the media types 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 |
---|---|
|
The method succeeded. |
|
The pMediaTypesToMux 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 |