DIEnumEffectsCallback

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

BOOL DIEnumEffectsCallback(
  LPCDIEffectInfo pdei,
  LPVOID pvRef
);

Parameters

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

Return Values

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

Requirements

Header: Declared in Dinput.h.