Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Retrieves the total duration of the media stream.
HRESULT get_Duration( REFTIME * plength );
Parameters
Return Values
Returns the HRESULTvalue returned from calling IMediaPosition::get_Durationon the connected pin.
Remarks
The duration assumes normal playback speed, and it is therefore unaffected by the rate.