public static extern void MagickNET_SetLogEvents(IntPtr events); [DllImport(NativeLibrary.X86Name, CallingConvention = CallingConvention.Cdecl)]