Microsoft DirectX 8.1 (C++)

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.

See Also