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