Compartilhar via


IAMTimelineComp::GetNextVTrack

 
Microsoft DirectShow 9.0

IAMTimelineComp::GetNextVTrack

The GetNextVTrack method retrieves the next virtual track after a specified virtual track.

Syntax

  HRESULT GetNextVTrack(
    IAMTimelineObj *pVirtualTrack, 
    IAMTimelineObj **ppNextVirtualTrack
);

Parameters

pVirtualTrack

Pointer to the previous virtual track, or NULL to retrieve the first virtual track in the composition.

ppNextVirtualTrack

[out] Address of a pointer that receives the IAMTimelineObj interface of the next virtual track, in order of priority.

Return Value

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

Remarks

If the method succeeds, 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