public static extern IntPtr MagickImageCollection_ReadFile(IntPtr settings, out IntPtr exception); [DllImport(NativeLibrary.X64Name, CallingConvention = CallingConvention.Cdecl)]