Based on the experimentally discovered domain structure and its evolution in an external magnetic field in thin films of FeNiCo composition with uniaxial anisotropy, a theoretical model of the magnetization distribution is proposed. The analytical dependence of the domain size on the magnitude of the magnetic field is obtained. The change in magnetoresistance because of the evolution of the magnetic domain structure is calculated.