public static extern UIntPtr MagickExceptionHelper_RelatedCount(IntPtr exception); [DllImport(NativeLibrary.X64Name, CallingConvention = CallingConvention.Cdecl)]