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