/// <summary> /// Initializes a new instance of the <see cref="EnumEffectsInFileCallback"/> class. /// </summary> public EnumEffectsInFileCallback() { unsafe { _callback = new DirectInputEnumEffectsInFileDelegate(DirectInputEnumEffectsInFileImpl); NativePointer = Marshal.GetFunctionPointerForDelegate(_callback); EffectsInFile = new List <EffectFile>(); } }
/// <summary> /// Initializes a new instance of the <see cref="EnumEffectsInFileCallback"/> class. /// </summary> public EnumEffectsInFileCallback() { unsafe { _callback = new DirectInputEnumEffectsInFileDelegate(DirectInputEnumEffectsInFileImpl); _nativePointer = Marshal.GetFunctionPointerForDelegate(_callback); EffectsInFile = new List<EffectFile>(); } }