[파워빌더 API] 사운드카드가 있는지 확인
//------------------------------------
Function Long waveOutGetNumDevs() Library "winmm.dll" Alias for "waveOutGetNumDevs"
//------------------------------------
Integer i
i = waveOutGetNumDevs()
If i > 0 Then
MessageBox ("사운드카드 있어!","Your system can play sound files.")
Else
MessageBox ("없어 사운드가..","Your system can not play sound files.")
End If
Function Long waveOutGetNumDevs() Library "winmm.dll" Alias for "waveOutGetNumDevs"
//------------------------------------
Integer i
i = waveOutGetNumDevs()
If i > 0 Then
MessageBox ("사운드카드 있어!","Your system can play sound files.")
Else
MessageBox ("없어 사운드가..","Your system can not play sound files.")
End If