FileEffect Structure

Language:

Describes data for a force-feedback effect stored in a file. It is used in conjunction with the Inputdevice9Enumeffectsinfile and Inputdevice9Writeeffecttofile methods.

Definition

Visual Basic Public Structure FileEffect
C# public struct FileEffect 
C++ public value class FileEffect sealed 
JScript In JScript, you can use structures, but you cannot define your own.

Members Table

Field Description
EffectStruct Pointer to a Dieffect structure containing information about the effect.
Method Description
FileEffect Initializes a new instance of the object.
ToString Obtains a string representation of the current instance.
Property Description
EffectGuid Unique identifier of the effect type. This can be one of the standard GUIDs defined in Dinput.h, such as GUID_ConstantForce, or one created by the designer.
Name Name of the effect.

Structure Information

Namespace Microsoft.DirectX.DirectInput
Assembly Microsoft.DirectX.DirectInput (microsoft.directx.directinput.dll)
Strong Name Microsoft.DirectX.DirectInput,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

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