Compartilhar via


IAMTimelineTrack::InsertSpace2

 
Microsoft DirectShow 9.0

IAMTimelineTrack::InsertSpace2

The InsertSpace2 method splits any objects that exist at the specified time and inserts space between them. This method is equivalent to IAMTimelineTrack::InsertSpace, but takes REFTIME values.

Syntax

  HRESULT InsertSpace2(
    REFTIME rtStart,
    REFTIME rtEnd
);

Parameters

rtStart

Time at which to create the split, and the starting point of the inserted space, in seconds.

rtEnd

End point of the inserted space, in seconds.

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