Theory of the density of states of pure type-II superconductors in high magnetic fields