Microsoft DirectX 9.0

AMTimelineSrc.GetMediaTimes2 Method

The GetMediaTimes2 method retrieves the media start and stop times.

Syntax

object.GetMediaTimes2(
    pStart As Double,
    pStop As Double
)

Parameters

pStart

Variable that receives the media start time, in seconds.

pStop

Variable that receives the media stop time, in seconds.

Error Codes

If the method fails, an error is raised.

Remarks

The media times are relative to the original media file. For more information, see Time in DirectShow Editing Services.

See Also