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