DirectX SDK

DIEnumCreatedEffectObjectsCallback

The DIEnumCreatedEffectObjectsCallback function is an application-defined callback function that receives DirectInputDevice effects as a result of a call to the IDirectInputDevice7::EnumCreatedEffectObjects method.

BOOL CALLBACK DIEnumCreatedEffectObjectsCallback(
  LPDIRECTINPUTEFFECT peff,  
  LPVOID pvRef               
);

Parameters

peff
Address of an effect object that has been created.
pvRef
Application-defined value given in the IDirectInputDevice7::EnumCreatedEffectObjects method.

Return Values

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

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.