Ornstein-Zernike correlations and magnetic ordering in nanostructures