IMFTimedText::SelectTrack method (mfmediaengine.h)
Selects or deselects a track of text in the timed-text component.
Syntax
HRESULT SelectTrack(
[in] DWORD trackId,
[in] BOOL selected
);
Parameters
[in] trackId
Type: DWORD
The identifier of the track to select.
[in] selected
Type: BOOL
Specifies whether to select or deselect a track of text. Specify TRUE to select the track or FALSE to deselect the track.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | mfmediaengine.h |