Microsoft DirectX 9.0

CRendererPosPassThru::ResetMediaTime

The ResetMediaTime method resets the cached time stamps to zero.

Syntax

HRESULT ResetMediaTime(void);

Return Value

Returns S_OK.

Remarks

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