|Microsoft DirectX 9.0|
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.
HRESULT EffectSwapPriorities( long PriorityA, long PriorityB );
First priority level at which to swap effects.
Second priority level at which to swap effects.
Returns S_OK if successful, or E_INVALIDARG otherwise.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.