CRendererPosPassThru::RegisterMediaTime
Registers the media start and end times with the object.
HRESULT RegisterMediaTime(
IMediaSample *pMediaSample );
HRESULT RegisterMediaTime(
LONGLONG pStartTime,
LONGLONG pEndTime );
Parameters
- pMediaSample
IMediaSample object containing the media times. - pStartTime
Returned starting media time. - pEndTime
Returned ending media time.
Return Values
Returns VFW_E_MEDIA_TIME_NOT_SET if the sample does not have its media times set. Otherwise, returns and HRESULT from the call to IMediaSample::GetTime.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.