public static extern void MagickImage_Threshold(IntPtr Instance, double threshold, out IntPtr exception); [DllImport(NativeLibrary.X86Name, CallingConvention = CallingConvention.Cdecl)]