Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IMFMediaTimeRange
Collapse the table of content
Expand the table of content

IMFMediaTimeRange interface

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

Members

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

Methods

The IMFMediaTimeRange interface has these methods.

MethodDescription
AddRange

Adds a new range to the list of time ranges.

Clear

Clears the list of time ranges.

ContainsTime

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

GetEnd

Gets the end time for a specified time range.

GetLength

Gets the number of time ranges contained in the object.

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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft