StopEffect routine
The StopEffect callback commands the device to stop an effect that was previously started.
Syntax
HRESULT StopEffect(
DWORD dwDeviceID,
DWORD dwDnloadID
);
Parameters
dwDeviceID
Indicates the external joystick number being addressed.dwDnloadID
Indicates the effect to be stopped.
Return value
Returns S_OK if successful; otherwise, returns an error code.