Microsoft DirectX 8.1 (C++) |
The AMTimelineTrack.GetSrcAtTime2 method retrieves the source object nearest to the specified time, according to the specified boundary conditions.
Syntax
object.GetSrcAtTime2(
ppSrc As AMTimelineObj,
Time As Double,
SearchDirection As Long
)
Parameters
ppSrc
The AMTimelineObj object that receives the source.
Time
Start time for the search, in seconds.
SearchDirection
Member of the DEXTERF_TRACK_SEARCH_FLAGS enumerated type that specifies the boundary conditions for the search.
Error Codes
If the method fails, an error is raised, and Err.Number can be set to the following value:
Value | Description |
E_INVALIDARG | Invalid argument. |
See Also