API函数怎么调用
想在程序中调用声音文件,请问sndplaysound()函数怎么用啊?
在Add-Ins菜单里添加API函数浏览器(API Text Viewer),然后载入Win32API.TXT,查找添加。
Public Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long