IDirectInputEffect::Stop

Stops playing an effect.

HRESULT Stop();

Parameters

None.

Return Values

If the method succeeds, the return value is DI_OK. If the method fails, the return value can be one of the following error values: DIERR_NOTEXCLUSIVEACQUIRED, DIERR_NOTINITIALIZED.

Remarks

The device must be acquired at the exclusive cooperative level for this method to succeed.

Requirements

Header: Declared in Dinput.h.