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