/// <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>(); }
/// <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>(); }