IMFTimedTextTrackList::GetTrack method (mfmediaengine.h)

Gets a text track in the list from the index of the track.

Syntax

HRESULT GetTrack(
  [in]  DWORD             index,
  [out] IMFTimedTextTrack **track
);

Parameters

[in] index

Type: DWORD

The index of the track in the list to retrieve.

[out] track

Type: IMFTimedTextTrack**

A pointer to a memory block that receives a pointer to the IMFTimedTextTrack interface for the timed-text 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

See also

IMFTimedTextTrackList