public static extern void MagickImage_RegionMask(IntPtr Instance, IntPtr region, out IntPtr exception); [DllImport(NativeLibrary.X64Name, CallingConvention = CallingConvention.Cdecl)]