Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Gets the IMFAttributes for the substream with the specified index.
Syntax
HRESULT GetAttributes(
[in] DWORD dwMuxStreamIndex,
[in] IMFAttributes **ppStreamAttributes
);
Parameters
[in] dwMuxStreamIndex
The index of the substream for which attributes are retrieved.
[in] ppStreamAttributes
The attributes for the specified substream.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
Invalid argument. |
|
The stream specified substream index is invalid. Call GetStreamCount to get the number of substreams managed by the multiplexed media source. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1703 [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | mfobjects.h |
| Library | Mfplat.lib; Mfplat.dll |