Device.GetEffects Method

Language:

Enumerates all the effects supported by the force-feedback system on the device. The enumerated GUIDs can represent predefined effects, as well as effects peculiar to the device manufacturer.

Definition

Visual Basic Public Function GetEffects( _
    ByVal fileName As String, _
    ByVal flags As FileEffectsFlags _
) As EffectList
C# public EffectList GetEffects(
    string fileName,
    FileEffectsFlags flags
);
C++ public:
EffectListGetEffects(
    StringfileName,
    FileEffectsFlags flags
);
JScript public function GetEffects(
    fileName : String,
    flags : FileEffectsFlags
) : EffectList;

Parameters

fileName System.String
flags Microsoft.DirectX.DirectInput.FileEffectsFlags

Return Value

Microsoft.DirectX.DirectInput.EffectList


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center