Magnetic properties

What typically happens to the orientation of magnetic moments as one passes through a domain wall?