/// <summary>
 /// Initializes a new instance of the <see cref="EnumDelegateCallback"/> class.
 /// </summary>
 public EnumDelegateCallback()
 {
     _callback = new DirectSoundEnumDelegate(DirectSoundEnumImpl);
     _nativePointer =  Marshal.GetFunctionPointerForDelegate(_callback);
     Informations = new List<DeviceInformation>();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EnumDelegateCallback"/> class.
 /// </summary>
 public EnumDelegateCallback()
 {
     _callback      = new DirectSoundEnumDelegate(DirectSoundEnumImpl);
     _nativePointer = Marshal.GetFunctionPointerForDelegate(_callback);
     Informations   = new List <DeviceInformation>();
 }