Microsoft Windows CE 3.0  

CPosPassThru::get_Duration

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

plength
Returned length of the media stream.

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.