IMFHttpDownloadRequest::GetTimeSeekResult method (mfidl.h)
Invoked by Microsoft Media Foundation to retrieve the values of the TimeSeekRange.DLNA.ORG HTTP header, if any, that the server specified in its response.
Syntax
HRESULT GetTimeSeekResult(
[out] QWORD *pqwStartTime,
[out] QWORD *pqwStopTime,
[out] QWORD *pqwDuration
);
Parameters
[out] pqwStartTime
The starting time offset, specified in units of one-hundred nanoseconds.
[out] pqwStopTime
The end time offset, specified in units of one-hundred nanoseconds
[out] pqwDuration
The time duration of data contained in the response, specified in units of one-hundred nanoseconds. Set this parameter to 0 if the server did not specify a duration (i.e., specified “*” as the duration.)
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The TimeSeekRange.DLNA.ORG HTTP header was present in the response, and could be successfully parsed. |
|
The TimeSeekRange.DLNA.ORG HTTP header was not present in the response, or had a syntax error. |
|
The pfNullSOurceOrigin parameter is an invalid pointer. |
Remarks
The values of all the parameters should be set to 0 if GetTimeSeekResult is invoked before EndReceiveResponse has been invoked. For information about the syntax for the TimeSeekRange.DLNA.ORG header, please refer to the DLNA web site.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mfidl.h |
Library | Mfplat.lib; Mfplat.dll |