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