Effects.DirectXEffectIsApplied method |
|
Remarks
Verifies if the given DMO effect has been applied to the given player through the Effects.DirectXEffectApply method.
DirectX effects requires the availability of DirectX version 8 or higher on the target system and can be applied only if the IsDirectX8Avail method returns TRUE.
See the How to apply special effects to a playing sound section for further details.
Syntax
[Visual Basic] control.Effects.DirectXEffectIsApplied ( nPlayer as Integer, nEffect as enumDirectXEffects, bApplied as enumBoolean ) as enumErrorCodes |
[C++] short control.Effects.DirectXEffectIsApplied ( short nPlayer, short nEffect, long *bApplied ); |
Parameter |
Description |
|||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||
nPlayer |
Number representing the zero-based index of the involved player |
|||||||||||||||||||||||||||
nEffect |
Numeric value that determines the effect to retrieve. Supported values are the following:
|
|||||||||||||||||||||||||||
bApplied |
Reference that, on return from the method call, will contain the boolean value specifying if the given effect is currently applied. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.ERR_NOERROR (0) |
The call was successful. |