Share via


IAMTimelineTrack::GetNextSrcEx

 
Microsoft DirectShow 9.0

IAMTimelineTrack::GetNextSrcEx

The GetNextSrcEx method retrieves the next source after the specified source.

Syntax

  HRESULT GetNextSrcEx(
    IAMTimelineObj *pLast, 
    IAMTimelineObj **ppNext
);

Parameters

pLast

Pointer to the previous source object, or NULL to retrieve the first source in the track.

ppNext

[out] Address of a pointer that receives the next source object's IAMTimelineObj interface.

Return Value

Returns S_OK if the method retrieves a source, or S_FALSE otherwise.

Remarks

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.

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