Share via


IAMTimelineTransable::GetTransAtTime2

 
Microsoft DirectShow 9.0

IAMTimelineTransable::GetTransAtTime2

The GetTransAtTime2 method retrieves the transition nearest to the specified time, according to the specified boundary conditions. This method is equivalent to IAMTimelineTransable::GetTransAtTime, but takes a REFTIME parameter.

Syntax

  HRESULT GetTransAtTime2(
    IAMTimelineObj **ppObj, 
    REFTIME Time, 
    long SearchDirection
);

Parameters

ppObj

[out] Address of a pointer to receive the transition's IAMTimelineObj interface.

Time

Time from which to begin the search, in seconds.

SearchDirection

Member of the DEXTERF_TRACK_SEARCH_FLAGS enumerated type that specifies the boundary conditions for the search.

Return Value

Returns one of the following HRESULT values:

Value Description
S_FALSE No transition was found.
S_OK Transition was found.
E_INVALIDARG Invalid argument.
E_POINTER NULL pointer argument.

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