play songs in background

i was trying to make a game where i nedd to play a song during the game play
I use playsound() function but each time ,
on each iteration it starts from the beginning of the song.

PlaySound(TEXT("C:\\Users\\ANSYS\\Desktop\\Knockouts.wav"), NULL,SND_ASYNC|SND_FILENAME|SND_LOOP);

this is how my code looks !
can any one fix this problem for me
Topic archived. No new replies allowed.