Microsoft DirectX 8.1 (C++)

DIEnumEffectsCallback

Application-defined callback function used with the IDirectInputDevice8::EnumEffects method.

BOOL CALLBACK DIEnumEffectsCallback(
  LPCDIEFFECTINFO pdei,  
  LPVOID pvRef
);

Parameters

pdei
DIEFFECTINFO structure that describes the enumerated effect.
pvRef
The application-defined value passed to EnumEffects as the pvRef parameter.

Return Values

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

Requirements

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