PlaySound
works perfectly fine if i need a single beep. The following illustrates my code snippet:
PlaySound(TEXT("C:\\Test1.wav"), NULL, SND_ASYNC);
My question is, how to use this function twice or more than twice, since it plays only once regardless of the amount of repetition I put together. I have also tried this:
PlaySound(TEXT("C:\\Test1.wav"), NULL,SND_FILENAME|SND_LOOP|SND_ASYNC);
which plays the beep in a continuous loop. How to play this twice or thrice etc.?
Using a loop doesn't help either.