Microsoft Windows CE 3.0  

CPosPassThru::GetDuration

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 length of time that the media stream will play.

HRESULT GetDuration(
LONGLONG *
pDuration
);

Parameters

pDuration
Returned length of the media stream.

Return Values

Returns the HRESULTvalue returned from calling IMediaSeeking::GetDurationon the connected pin.

Remarks

This member function implements the IMediaSeeking::GetDurationmethod by calling this same method on the upstream filter's output pin.