public static extern bool MagickImage_SetColorMetric(IntPtr Instance, IntPtr image, out IntPtr exception); [DllImport(NativeLibrary.X86Name, CallingConvention = CallingConvention.Cdecl)]