IMFTimedText::RemoveTrack method (mfmediaengine.h)

Removes the timed-text track with the specified identifier.

Syntax

HRESULT RemoveTrack(
  [in] IMFTimedTextTrack *track
);

Parameters

[in] track

Type: DWORD

The identifier of the track to remove.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Get the identifier for a track by calling GetId.

When a track is removed, all buffered data from the track is also removed.

Requirements

Requirement Value
Target Platform Windows
Header mfmediaengine.h
Library Mfmediaengine.lib
DLL Mfmediaengine.dll

See also

IMFTimedText