Share via


IAMTimelineEffectable::EffectSwapPriorities

 
Microsoft DirectShow 9.0

IAMTimelineEffectable::EffectSwapPriorities

The EffectSwapPriorities method switches the priority levels of two effects.

Given two priority values, this method swaps the effects at those priorities. When the method returns, the effect that was at the first priority level is at the second priority level, and vice versa.

Syntax

  HRESULT EffectSwapPriorities(
    long PriorityA,
    long PriorityB
);

Parameters

PriorityA

First priority level at which to swap effects.

PriorityB

Second priority level at which to swap effects.

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