创建描述多路复用子流内容的 IMFAttributes 。
语法
HRESULT MFCreateMuxStreamAttributes(
[in] IMFCollection *pAttributesToMux,
[out] IMFAttributes **ppMuxAttribs
);
parameters
[in] pAttributesToMux
包含每个多路复用子流的 IMFAttributes 的集合。
[out] ppMuxAttribs
IMFAttributes 包含多路复用子流的属性。
返回值
函数返回 HRESULT。 可能的值包括(但并不限于)下表中的项。
| 返回代码 | 说明 |
|---|---|
|
方法成功。 |
|
pAttributesToMux 参数,以 null 表示。 |
要求
| 最低受支持的客户端 | Windows 10版本 1703 [仅限桌面应用] |
| 最低受支持的服务器 | Windows Server 2016 [仅限桌面应用] |
| 目标平台 | Windows |
| 标头 | mfapi.h |
| Library | Mfplat.lib |
| DLL | Mfplat.dll |