Microsoft DirectX 9.0

AMTimelineObj.GetStartStop2 Method

The GetStartStop2 method retrieves the object's start and stop times, relative to the object's parent.

Syntax

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

Parameters

pStart

Variable that receives the start time, in seconds.

pStop

Variable that receives the stop time, in seconds.

Error Codes

If the method fails, an error is raised.

Remarks

Compositions, groups, and tracks always have a start time of 0.

During rendering, DES rounds an object's start and stop times to the nearest frame boundary. However, it does not overwrite the object's times. If you change the group frame rate, the rounded times are always calculated from the original times. For more information, see Time in DirectShow Editing Services. To determine the start and stop times in the rendered project, pass the values returned by GetStartStop2 to the FixTimes2 method.

See Also