Microsoft Windows CE 3.0  

CRendererPosPassThru::RegisterMediaTime

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.

Registers the media start and end times with the object.

HRESULT RegisterMediaTime(
IMediaSample
*
pMediaSample); 
HRESULT RegisterMediaTime(
LONGLONG
pStartTime, 
LONGLONG
pEndTime
);

Parameters

pMediaSample
IMediaSampleobject containing the media times.
pStartTime
Returned starting media time.
pEndTime
Returned ending media time.

Return Values

Returns VFW_E_MEDIA_TIME_NOT_SETif the sample does not have its media times set. Otherwise, returns and HRESULTfrom the call to IMediaSample::GetTime.