DirectX SDK

DirectInputEffect.GetEffectStatus

The DirectInputEffect.GetEffectStatus method retrieves the status of an effect.

object.GetEffectStatus() As Long

Parameters

object
Object expression that resolves to a DirectInputEffect object.

Return Values

The method returns status flags for the effect. The value may be zero, or one or more of the following constants of the CONST_DIEGESFLAGS enumeration:

DIEGES_PLAYING
The effect is playing.
DIEGES_EMULATED
The effect is emulated.

Error Codes

If the method fails, an error is raised and Err.Number will be set.