According to Stafford police, officers responded to a report of shots fired on Southmeadow near Mulholland.
When police arrived, the residents reportedly refused to come out of the house.
A SWAT team was called out. When they got to the scene, the residents came outside and surrendered to police.
Police said a driver then pulled up to the scene in an SUV and asked what was happening, at which point he begins to act suspiciously.
Officers confronted the man and asked him to exit the vehicle, but he refused, police said.
That's when an officer reached her left arm into the vehicle. The suspect allegedly rolled the window up on her arm and tried to drive away.
Police said the officer was in fear for her life. She discharged her weapon into the SUV, shattering the driver's side window and hitting the suspect.
The suspect was taken to Memorial Hermann Hospital where he underwent surgery. He is expected to survive, police said.
The officer who fired her weapon and another officer were both taken to an area hospital with minor injuries.
No other details were released.