DirectX SDK

DIEnumEffectsCallback

The DIEnumEffectsCallback function is an application-defined callback function used with the IDirectInputDevice7::EnumEffects method.

BOOL CALLBACK DIEnumEffectsCallback(
  LPCDIEFFECTINFO pdei,  
  LPVOID pvRef           
);

Parameters

pdei
DIEFFECTINFO structure that describes the enumerated effect.
pvRef
Address of application-defined data given to the EnumEffects method.

Return Values

Returns DIENUM_CONTINUE to continue the enumeration, or DIENUM_STOP to stop it.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dinput.h.
  Import Library: User-defined.