Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |