Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Selects or deselects a stream for playback.
Syntax
HRESULT SetStreamSelection(
[in] DWORD dwStreamIndex,
[in] BOOL Enabled
);
Parameters
[in] dwStreamIndex
The zero-based index of the stream. To get the number of streams, call IMFMediaEngineEx::GetNumberOfStreams.
[in] Enabled
Specifies whether to select or deselect the stream.
| Value | Meaning |
|---|---|
|
The stream is selected. During playback, this stream will play. |
|
The stream is not selected. During playback, this stream will not play. |
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | mfmediaengine.h |