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 an DirectInputEffect object by calling the IDirectInputDevice2::CreateEffect function, which returns a pointer to an IDirectInputEffect COM interface.