Share via


IAMTimelineTrack::InsertSpace

 
Microsoft DirectShow 9.0

IAMTimelineTrack::InsertSpace

The InsertSpace method splits any objects that exist at the specified time and inserts space between them.

Syntax

  HRESULT InsertSpace(
    REFERENCE_TIME rtStart,
    REFERENCE_TIME rtEnd
);

Parameters

rtStart

Time at which to create the split, and the starting point of the inserted space, in 100-nanosecond units.

rtEnd

End point of the inserted space, in 100-nanosecond units.

Return Value

Returns an HRESULT value. Possible return values include the following:

Value Description
S_FALSE There are no objects at the specified time.
S_OK Success.
E_INVALIDARG Invalid argument.
E_OUTOFMEMORY Insufficient memory.

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