|
-
Aug 2nd, 2000, 11:17 AM
#1
Thread Starter
Frenzied Member
IS there anyway to tell if there is a sound card in a users PC? I need to know so I can either allow or disallow the option of playing .wav and .mp3
Thanks
-
Aug 2nd, 2000, 01:48 PM
#2
Monday Morning Lunatic
The API function waveOutGetNumDevs should help. If it returns 0, then there are no wave devices present in the system.
Code:
Private Declare Function waveOutGetNumDevs Lib "winmm.dll" () as Long
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 2nd, 2000, 02:06 PM
#3
Thread Starter
Frenzied Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|