Compartilhar via


IAMTimelineComp::VTrackSwapPriorities

 
Microsoft DirectShow 9.0

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.

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