|Microsoft DirectX 9.0|
The GetNextSrc method searches the track for the next source that appears at the specified time or later.
HRESULT GetNextSrc( IAMTimelineObj **ppSrc, REFERENCE_TIME *pInOut );
[out] Address of a pointer that receives the source object's IAMTimelineObj interface.
Pointer to a variable that contains the start time for the search, in 100-nanosecond units. If the method retrieves a source, it sets the value to the stop time of the source. If the method does not retrieve a source, the value becomes invalid and the application should not use it.
Returns S_OK if the method retrieves a source, or S_FALSE otherwise.
If the time specified by pInOut falls between the start and stop times of a source, the method retrieves that source.
If the method returns S_OK, the IAMTimelineObj interface that it returns has an outstanding reference count. Be sure to release the interface when you are finished using it.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.