コード例 #1
0
 /// <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>();
     }
 }
コード例 #2
0
ファイル: EnumEffectsCallback.cs プロジェクト: oeoen/SharpDX
 /// <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>();
     }
 }