Microsoft Windows CE 3.0  

IMediaPosition::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
[out] Returned length of the media stream.

Return Values

Returns an HRESULTvalue.

Remarks

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