DIEnumCreatedEffectObjectsCallback

Application-defined callback function that receives DirectInputDevice effects as a result of a call to the IDirectInputDevice8::EnumCreatedEffectObjects method.

BOOL DIEnumCreatedEffectObjectsCallback(
  LPDIRECTINPUTEFFECT peff,
  LPVOID pvRef
);

Parameters

peff
The address of an effect object that has been created.
pvRef
The application-defined value passed to IDirectInputDevice8::EnumCreatedEffectObjects as the pvRef parameter.

Return Values

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

Requirements

Header: Declared in Dinput.h.