// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------

namespace Win32.Media.Audio.XAudio2;

public static unsafe partial class Apis
{
	/// <include file='../XAudio2.xml' path='doc/member[@name="CreateFX"]/*' />
	[DllImport("XAudio2_9.dll", ExactSpelling = true)]
	public static extern HResult CreateFX(Guid* clsid, IUnknown** pEffect, void* pInitDat, uint InitDataByteSize);

	/// <include file='../XAudio2.xml' path='doc/member[@name="XAudio2CreateWithVersionInfo"]/*' />
	[DllImport("XAudio2_9.dll", ExactSpelling = true)]
	public static extern HResult XAudio2CreateWithVersionInfo(IXAudio2** ppXAudio2, uint Flags, uint XAudio2Processor, uint ntddiVersion);

	/// <include file='../XAudio2.xml' path='doc/member[@name="CreateAudioVolumeMeter"]/*' />
	[DllImport("xaudio2_9.dll", ExactSpelling = true)]
	public static extern HResult CreateAudioVolumeMeter(IUnknown** ppApo);

	/// <include file='../XAudio2.xml' path='doc/member[@name="CreateAudioReverb"]/*' />
	[DllImport("xaudio2_9.dll", ExactSpelling = true)]
	public static extern HResult CreateAudioReverb(IUnknown** ppApo);

	/// <include file='../XAudio2.xml' path='doc/member[@name="CreateHrtfApo"]/*' />
	[DllImport("HrtfApo.dll", ExactSpelling = true)]
	public static extern HResult CreateHrtfApo(HrtfApoInit* init, IXAPO** xApo);
}
