IMFTimedText::GetTextTracks method (mfmediaengine.h)

Gets the list of all the timed-text tracks in the timed-text component.

Syntax

HRESULT GetTextTracks(
  [out] IMFTimedTextTrackList **textTracks
);

Parameters

[out] textTracks

Type: IMFTimedTextTrackList**

A pointer to a memory block that receives a pointer to the IMFTimedTextTrackList interface that can enumerate the list of all of the timed-text tracks.

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

See also

IMFTimedText