public static extern IntPtr MagickImage_Rotate(IntPtr Instance, double degrees, out IntPtr exception); [DllImport(NativeLibrary.X64Name, CallingConvention = CallingConvention.Cdecl)]