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 E_POINTER if pLengthis invalid. Otherwise, returns S_OK.
Remarks
The duration assumes normal playback speed; it is therefore unaffected by the rate.