Applications use the methods of the IDirectInputEffect interface to manage effects of force feedback devices.
The interface is obtained by using the IDirectInputDevice2::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:
AddRef | |
QueryInterface | |
Release |
the LPDIRECTINPUTEFFECT type is defined as a pointer to the IDirectInputEffect interface:
typedef struct IDirectInputEffect *LPDIRECTINPUTEFFECT;