CSourcePosition::get_Duration
Retrieves the total duration of the media stream.
HRESULT get_Duration(
REFTIME *plength );
Parameters
- plength
Returned length of the media stream.
Return Values
Returns E_POINTER if pLength is invalid. Otherwise, returns S_OK.
Remarks
The duration assumes normal playback speed; it is therefore unaffected by the rate.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.