/// <summary> /// Initializes a new instance of the <see cref="EnumEffectsCallback"/> class. /// </summary> public EnumEffectsCallback() { unsafe { _callback = new DirectInputEnumEffectsDelegate(DirectInputEnumEffectsImpl); _nativePointer = Marshal.GetFunctionPointerForDelegate(_callback); EffectInfos = new List<EffectInfo>(); } }
/// <summary> /// Initializes a new instance of the <see cref="EnumEffectsCallback"/> class. /// </summary> public EnumEffectsCallback() { unsafe { _callback = new DirectInputEnumEffectsDelegate(DirectInputEnumEffectsImpl); _nativePointer = Marshal.GetFunctionPointerForDelegate(_callback); EffectInfos = new List <EffectInfo>(); } }