The DirectInputEffect Object

A DirectInputEffect object represents a force-feedback effect that you have defined. It is used to manipulate the effect on the input/output device.

You create a DirectInputEffect object by calling the IDirectInputDevice2::CreateEffect method, which returns a pointer to an IDirectInputEffect COM interface.