Microsoft DirectX 9.0


The ResetMediaTime method resets the cached time stamps to zero.


HRESULT ResetMediaTime(void);

Return Value

Returns S_OK.


The filter should call this method whenever the time stamps cached by the CRendererPosPassThru::RegisterMediaTime method become invalid. Specifically, it should call this method in response to the IPin::EndFlush and IMediaFilter::Stop methods.

After this method is called, the CRendererPosPassThru::GetMediaTime method returns zero for the start and end times.

See Also

CRendererPosPassThru Class