Microsoft DirectX 8.1 (C++) |
Applications use the methods of the IDirectInputEffect interface to manage effects of force-feedback devices.
The interface is obtained by using the IDirectInputDevice8::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;
Windows NT/2000/XP: Requires Windows® 2000.
Windows 98/Me: Requires Windows 98 or later. Available as a redistributable for Windows 98.
Header: Declared in Dinput.h.