An approach is proposed for modifying the Ornstein-Zernike equation. According to this approach, a function that takes into account the microinhomogeneity of the structure of vitreous systems is introduced into the integrand of the Ornstein-Zernike equation. It is shown that the generalized Ornstein-Zernike equation can be used to calculate the thermodynamic parameters of simple molecular systems (specifically, argon) in the vitreous state.