Represents a list of subtitle tracks. Call the ILMDmxSubtitle interface to get track lists from a demultiplexer, or the ILMMuxSubtitle interface to get track lists from a multiplexer.
Type | Name | Description |
---|---|---|
LONG | Count | A read-only property that represents number of tracks contained in the list. |
trackid | A long value that specifies which track identifier in the list to retrieve. |
index | A pointer to a long variable that receives the index of the track. A value of -1 is returned if the list does not contain a track with the specified identifier. |
Gets the list index of a track for the specified track identifier.
S_OK if successful; < 0 if an error occurred.
trackid | A long value that specifies which track identifier in the list to retrieve. |
track | A pointer to a variable that receives a pointer to the IMFSubtitleTrack interface for the track. |
Gets an ILMSubtitleTrack interface for a track, using the track identifier.
S_OK if successful; < 0 if an error occurred.
E_INVALIDARG |
The track is not in the Tracks list. |
index | A long value that specifies the index of the track in the list to retrieve. |
track | A pointer to a variable that receives a pointer to the IMFSubtitleTrack interface for the track. |
Gets the ILMSubtitleTrack interface for a track, using the track list index.
S_OK if successful; < 0 if an error occurred.
E_INVALIDARG |
The track is not in the Tracks list. |