IMFMediaTimeRange interface (mfmediaengine.h)

Represents a list of time ranges, where each range is defined by a start and end time.

Inheritance

The IMFMediaTimeRange interface inherits from the IUnknown interface. IMFMediaTimeRange also has these types of members:

Methods

The IMFMediaTimeRange interface has these methods.

 
IMFMediaTimeRange::AddRange

Adds a new range to the list of time ranges.
IMFMediaTimeRange::Clear

Clears the list of time ranges.
IMFMediaTimeRange::ContainsTime

Queries whether a specified time falls within any of the time ranges.
IMFMediaTimeRange::GetEnd

Gets the end time for a specified time range.
IMFMediaTimeRange::GetLength

Gets the number of time ranges contained in the object.
IMFMediaTimeRange::GetStart

Gets the start time for a specified time range.

Remarks

The IMFMediaTimeRange interface corresponds to the TimeRanges interface in HTML5.

Several IMFMediaEngine methods return IMFMediaTimeRange pointers.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mfmediaengine.h

See also

Media Foundation Interfaces