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.
| Method | Description |
|---|---|
| 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 |
|
See also