Share via


IMediaPosition::get_Duration

Retrieves the total duration of the media stream.

HRESULT get_Duration(
REFTIME *plength);

Parameters

  • plength
    [out] Returned length of the media stream.

Return Values

Returns an HRESULT value.

Remarks

The duration assumes normal playback speed, and it is therefore unaffected by the rate.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.