public static bool Unregister(string name)
{
using (INativeInstance nameNative = UTF8Marshaler.CreateInstance(name))
{
#if ANYCPU
if (NativeLibrary.Is64Bit)
#endif
#if WIN64 || ANYCPU
return NativeMethods.X64.MagickFormatInfo_Unregister(nameNative.Instance);
#endif
#if ANYCPU
else
#endif
#if !WIN64 || ANYCPU
return NativeMethods.X86.MagickFormatInfo_Unregister(nameNative.Instance);
#endif
}
}
}