IDirectInputEffectDriver::StopEffect method (dinputd.h)

The IDirectInputEffectDriver::StopEffect method halts the playback of an effect.

Syntax

HRESULT StopEffect(
  DWORD unnamedParam1,
  DWORD unnamedParam2
);

Parameters

unnamedParam1

Indicates the external joystick number being addressed.

unnamedParam2

Specifies the effect to be stopped.

Return value

Returns S_OK if successful; otherwise, returns an error code.

Requirements

Requirement Value
Target Platform Desktop
Header dinputd.h (include Dinputd.h)