
Win API functions that don't seem to exist in Win32 API
Help!!
Several years ago I wrote a simple game that made use of the following
API declares:
Declare Function OpenSound Lib "Sound" () As Integer
Declare Sub CloseSound Lib "Sound" ()
Declare Function SetVoiceQueueSize Lib "Sound" (ByVal nVoice As
Integer, ByVal nBytes As Integer) As Integer
Declare Function SetVoiceSound Lib "Sound" (ByVal nVoice As Integer,
ByVal lFrequency As Long, ByVal nDuration As Integer) As Integer
Declare Function StartSound Lib "Sound" () As Integer
This worked fine on a Win 3.1 or Win 3.11 system, but of course it
doesn't work on a Win 95 system. I've tried to locate the Win32 API
versions of these API calls but have had no luck ... I've also tried
some "conversion utilities" that supposedly convert a VB3 app to a VB4
app ... all they did was tell me to convert the API calls (like,
duh!).
I just bought Daniel Appleman's VB guide to the Win32 API ... although
I haven't had a chance to read it completely, I don't see any
references to SOUND API calls.
Does anyone know where/what the comparable calls are? Or, how are you
VB4 (32-bit) programmers handling sound???
Thanks!
Brad Ashforth
===================================================================
"The powers not delegated to the United States by the Constitution,
nor prohibited by it to the States, are reserved to the States
respectively, or to the people." The 10th Amendment
------------
REMEMBER IT!
===================================================================