ltmmMediaSample.ResetTime Method

Visual Basic example

Syntax

object.ResetTime()

Remarks

Invalidates the stream time.

If the method fails, an error is raised. For more information, refer to the Error Codes.

This will cause the ltmmMediaSample.GetTime method to raise an VFW_E_SAMPLE_TIME_NOT_SET error. Please note that VFW_E_SAMPLE_TIME_NOT_SET is a DirectShow error code.

See Also

Elements:

ltmmMediaSample.ActualDataLength Property, ltmmMediaSample.Buffer Property, ltmmMediaSample.BufferSize Property, ltmmMediaSample.Discontinuity Property, ltmmMediaSample.Preroll Property, ltmmMediaSample.SyncPoint Property, ltmmMediaSample.GetData Method, ltmmMediaSample.GetMediaType Method, ltmmMediaSample.GetMediaTime Method, ltmmMediaSample.GetTime Method, ltmmMediaSample.ResetMediaTime Method, ltmmMediaSample.SetData Method, ltmmMediaSample.SetMediaTime Method, ltmmMediaSample.SetTime Method, ltmmMediaSample.SetMediaType Method

Topics:

ltmmMediaSample object