The return of mass and energy to the interstellar medium by winds from early-type stars