Hardwoods normally have a shallow root ball but it is spread out which makes it a little more stable in moderate winds, they become a problem in high winds. The good news for hardwoods they are long lived and you can control the growth by pruning which will help reduce wind load and keep the tree safe. Pines are a different mater they are short lived but they have a tap root which makes them more stable in higher winds but this advantage goes away as the tree gains height. The problem with pines around a house is they are short lived and are more susceptible to parasites and insect damage, that can be a problem more so than the wind.