PlaySound

播放指定的音效文件(格式WAV)

用法

PlaySound("PathFilename")

参数说明: PathFilename  —— 指定要播放的Wav格式音效文件(包含完整的路径)

范例

播放在C盘下面的ding.wav音乐:

PlaySound("C:\ding.wav");