Microsoft DirectX 8.1 (C++)

AMTimelineSrc.GetMediaTimes2 Method

The AMTimelineSrc.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