public static extern void MagickNET_SetLogDelegate(LogDelegate method); [DllImport(NativeLibrary.X64Name, CallingConvention = CallingConvention.Cdecl)]