Microsoft DirectX 8.1 (C++)

IAMTimelineComp::GetVTrack

The GetVTrack method retrieves the virtual track at the specified priority.

Syntax

HRESULT GetVTrack(
    IAMTimelineObj **ppVirtualTrack,
    long Which
);

Parameters

ppVirtualTrack

[out] Address of a pointer that receives the virtual track's IAMTimelineObj interface.

Which

Priority of the virtual track to retrieve.

Return Value

Returns one of the following HRESULT values:

Return code Description
S_OK Success.
E_INVALIDARG No virtual track with the specified priority.
E_POINTER NULL pointer argument.

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