Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WaveOutSetVolume
Message
 
To
09/02/1999 03:12:29
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00185200
Message ID:
00185422
Views:
25
Hi John,

> what the value for the following:
>MMRESULT waveOutOpen(
>LPHWAVEOUT phwo,
>UINT uDeviceID,
>LPWAVEFORMATEX pwfx,
>DWORD dwCallback,
>DWORD dwCallbackInstance,
>DWORD fdwOpen
>);
>
>MMRESULT waveOutSetVolume(
>HWAVEOUT hwo, && especially this
>DWORD dwVolume
>);


What values you have to use in the waveOutOpen() function depends on what you are trying to do, especially those in the LPWAVEFORMATEX structure. hwo in waveOutSetVolume is that value that waveOutOpen returns in phwo. uDeviceID can be an ID or the constant WAVE_MAPPER (2) which chooses a device that matches your criteria. dwCallback and dwCallbackInstance should be 0. fdwOpen should be CALLBACK_NULL (0x00000000l). dwVolume contains the desired volume.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform