BOOL sndPlaySound( LPCSTR lpszSound, UINT fuSound );fuSound SND_LOOP The sound plays repeatedly until sndPlaySound is called again with the lpszSoundName parameter set to NULL. You must also specify the SND_ASYNC flag to loop sounds. 把fuSound 参数设置成SND_LOOP,就循环播放。
LPCSTR lpszSound,
UINT fuSound
);fuSound SND_LOOP The sound plays repeatedly until sndPlaySound is called again with the lpszSoundName parameter set to NULL. You must also specify the SND_ASYNC flag to loop sounds. 把fuSound 参数设置成SND_LOOP,就循环播放。