La funzione se nn erro è sndPlaySound e vale solo per file *.wav
inoltre devi linkare la libwinmn