public static extern UIntPtr MagickImage_GetBitDepth(IntPtr Instance, UIntPtr channels); [DllImport(NativeLibrary.X64Name, CallingConvention = CallingConvention.Cdecl)]