using System;
using System.Runtime.InteropServices;

namespace QC.MCI;

internal static class DynamicLibrary
{
	[DllImport("kernel32.dll")]
	public static extern IntPtr LoadLibrary(string dllName);

	[DllImport("kernel32.dll")]
	public static extern IntPtr GetProcAddress(IntPtr hHandle, string functionName);

	[DllImport("kernel32.dll")]
	public static extern bool FreeLibrary(IntPtr hHandle);
}
