|Microsoft DirectX 9.0|
Applications use the methods of the IDirectInputEffect interface to manage effects of force-feedback devices.
Places the effect on the device. If the effect is already on the device, the existing effect is updated to match the values set by the IDirectInputEffect::SetParameters method.
Sends a hardware-specific command to the driver.
Retrieves the globally unique identifier (GUID) for the effect represented by the IDirectInputEffect object.
Retrieves the status of an effect.
Retrieves information about an effect.
Initializes a DirectInputEffect object.
Sets the characteristics of an effect.
Begins playing an effect. If the effect is already playing, it is restarted from the beginning. If the effect has not been downloaded or has been modified since its last download, it is downloaded before being started. This default behavior can be suppressed by passing the DIES_NODOWNLOAD flag.
Stops playing an effect.
Removes the effect from the device. If the effect is playing, it is automatically stopped before it is unloaded.
The interface is obtained by using the IDirectInputDevice8::CreateEffect method.
The LPDIRECTINPUTEFFECT type is defined as a pointer to the IDirectInputEffect interface:typedef struct IDirectInputEffect *LPDIRECTINPUTEFFECT;
Inherits from IUnknown Header dinput.h Minimum operating systems Windows 98