IAMTimelineTrack::GetNextSrc2
Microsoft DirectShow 9.0 |
IAMTimelineTrack::GetNextSrc2
The GetNextSrc2 method searches the track for the next source that appears at the specified time or later. This method is equivalent to IAMTimelineTrack::GetNextSrc, but takes a REFTIME value.
Syntax
HRESULT GetNextSrc2( IAMTimelineObj **ppSrc, REFTIME *pInOut );
Parameters
ppSrc
[out] Address of a pointer that receives the source object's IAMTimelineObj interface.
pInOut
Pointer to a variable that contains the start time for the search, in seconds. 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.
Return Value
Returns S_OK if the method retrieves a source, or S_FALSE otherwise.
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