A dog or cat cannot spread hantavirus from a rodent to a person.
hantavirus is carried by deer mice.
Because it is often difficult to be certain which is which, you should treat all mice and mouse droppings as if they might be infected.
Dogs and cats can get hantavirus but do not spread it to humans.