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