The DIEnumEffectsProc function is an application-defined callback function used with the IDirectInputDevice2::EnumEffects method.
BOOL CALLBACK DIEnumEffectsProc(
LPCDIEFFECTINFO pdei,
LPVOID pvRef
);
Parameters
pdei
A DIEFFECTINFO structure that describes the enumerated effect.
pvRef
Address of application-defined data given to the IDirectInputDevice2::EnumEffects method.
Return Values
Returns DIENUM_CONTINUE to continue the enumeration, or DIENUM_STOP to stop it.
QuickInfo
Windows NT: Use version 5.0 or later.
Windows: Use Windows 95 OSR2 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in dinput.h.
Import Library: User-defined.