Microsoft DirectX 9.0

AMTimelineComp.VTrackSwapPriorities Method

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

object.VTrackSwapPriorities(
    VirtualTrackA As Long,
    VirtualTrackB As Long
)

Parameters

VirtualTrackA

First priority level at which to swap virtual tracks.

VirtualTrackB

Second priority level at which to swap virtual tracks.

Error Codes

If the method fails, an error is raised, and Err.Number can be set to one of the following values:

Value Description
E_INVALIDARG Invalid argument.

See Also