IMFMediaTimeRange::ContainsTime method
Queries whether a specified time falls within any of the time ranges.
Syntax
BOOL ContainsTime( [in] double time );
Parameters
- time [in]
-
The time, in seconds.
Return value
Returns TRUE if any time range contained in this object spans the value of the time parameter. Otherwise, returns FALSE.
Remarks
This method returns TRUE if the following condition holds for any time range in the list:
- (start <= time) && (time <= end)
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
Show: