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