IMFByteStreamTimeSeek::GetTimeSeekResult method
Gets the result of a time-based seek.
Syntax
HRESULT GetTimeSeekResult( [out] QWORD *pqwStartTime, [out] QWORD *pqwStopTime, [out] QWORD *pqwDuration );
Parameters
- pqwStartTime [out]
-
Receives the new position after the seek, in 100-nanosecond units.
- pqwStopTime [out]
-
Receives the stop time, in 100-nanosecond units. If the stop time is unknown, the value is zero.
- pqwDuration [out]
-
Receives the total duration of the file, in 100-nanosecond units. If the duration is unknown, the value is –1.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
The byte stream does not support time-based seeking, or no data is available. |
Remarks
This method returns the server response from a previous time-based seek.
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