IMFMediaEngineEx::GetStreamAttribute method
Gets a stream-level attribute from the media resource.
Syntax
HRESULT GetStreamAttribute( [in] DWORD dwStreamIndex, [in] REFGUID guidMFAttribute, [out] PROPVARIANT *pvValue );
Parameters
- dwStreamIndex [in]
-
The zero-based index of the stream. To get the number of streams, call IMFMediaEngineEx::GetNumberOfStreams.
- guidMFAttribute [in]
-
The attribute to query. Possible values are listed in the following topics:
- pvValue [out]
-
A pointer to a PROPVARIANT that receives the value. The method fills the PROPVARIANT with a copy of the stored value. Call PropVariantClear to free the memory allocated by the method.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Header |
|
See also