Microsoft DirectX 8.1 (C++)

IAMTimelineComp::VTrackSwapPriorities

The VTrackSwapPriorities method switches the priority levels of two tracks.

Given two priority levels, this method switches the virtual tracks at those priorities. When the method returns, the track that was at the first priority level is now at the second priority level, and vice versa.

Syntax

HRESULT VTrackSwapPriorities(
    long VirtualTrackA,
    long VirtualTrackB
);

Parameters

VirtualTrackA

First priority level at which to swap virtual tracks.

VirtualTrackB

Second priority level at which to swap virtual tracks.

Return Value

Returns S_OK if successful, or E_INVALIDARG otherwise.

See Also