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