Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sound Card
Message
From
19/04/1999 11:36:32
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00209629
Message ID:
00209693
Views:
22
>Does anybody out there know how I can determine if a computer has a sound card? An API call perhaps? Any and all help is appreciated.

Hi,

You can use mixerGetNumDevs function that retrieves the number of mixer devices present in the system. And then mixerGetDevCaps to determine a mixer device capabilities.

Declare INTEGER mixerGetNumDevs in WinMM && Returns the number of mixer devices or zero if no mixer devices are available.

Declare INTEGER mixerGetDevCaps in WinMM INTEGER, STRING@, INTEGER

Best regards.

Alex
Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform