Microsoft DirectX 8.1 (C++)

IAMTimelineTrack::ZeroBetween

The ZeroBetween method removes everything from the track between the specified times. This method splits any objects that span the specified time range and removes the pieces that fall within the range.

Syntax

HRESULT ZeroBetween(
    REFERENCE_TIME rtStart,
    REFERENCE_TIME rtEnd
);

Parameters

rtStart

Beginning of the range to clear, in 100-nanosecond units.

rtEnd

End of the range to clear, in 100-nanosecond units.

Return Value

Returns an HRESULT value. Possible values include the following.

Value Description
S_FALSE The time range falls beyond everything in the track.
S_OK Success.

See Also