共用方式為


DIEnumEffectsCallback

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

Syntax

BOOL DIEnumEffectsCallback(
         LPCDIEffectInfo pdei,
         LPVOID pvRef
)

Parameters

Return Value

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

Requirements

Header: Declared in dinput.h.