Compartir a través de


IMediaPosition::get_Duration (Compact 2013)

3/26/2014

This method retrieves the total duration of the media stream.

Syntax

HRESULT get_Duration(
  REFTIME* plength
);

Parameters

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

Return Value

Returns an HRESULT value.

Remarks

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

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMediaPosition Interface