A Starting pitcher gets a win if he pitches at least 5 inings and leaves the game with the lead and the ball culb wins without tieing of falling behind
heres an exaple:
a pitcher (Smith), pitches 7 strong inings and the score is 7-1 when he leaves the game, a reliver comes in and gives up 5 runs, so now the score is 7-6, :-o . Smiths team scores 3 more runs in the 8th ining, but the other team comes back to score 3 runs in the top of the 9th. Team smith gets the win even tough the score is 10-9, because when he left the ball game his team was in the lead and the other team failed to tie or go ahead.
does that answer you question
if not, the please let me know ;-D