Microsoft DirectX 9.0

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.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also