Platform SDK: DirectX

IDirectInputEffect

Applications use the methods of the IDirectInputEffect interface to manage effects of force-feedback devices.

The interface is obtained by using the IDirectInputDevice7::CreateEffect method.

The methods of the IDirectInputEffect interface can be organized into the following groups.

Effect information GetEffectGuid
  GetEffectStatus
GetParameters
Effect manipulation Download
  Initialize
SetParameters
Start
Stop
Unload
Miscellaneous Escape

The IDirectInputEffect interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

IUnknown AddRef
  QueryInterface
Release

The LPDIRECTINPUTEFFECT type is defined as a pointer to the IDirectInputEffect interface:

typedef struct IDirectInputEffect    *LPDIRECTINPUTEFFECT;

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dinput.h.
  Import Library: Use dinput.lib.