Microsoft DirectX 8.0 (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: 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.