 |
waveOutSetVolume ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The waveOutSetVolume function sets the volume level of the specified waveform-audio output device. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
MMRESULT waveOutSetVolume(
HWAVEOUT hwo,
DWORD dwVolume
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER waveOutSetVolume IN winmm;
INTEGER hwo,;
INTEGER dwVolume
|
 |
 |
 |
| Parameters: |
 |
hwo
Handle to an open waveform-audio output device. This parameter can also be a device identifier.
dwVolume
New volume setting. The low-order word contains the left-channel volume setting, and the high-order word contains the right-channel setting. A value of 0xFFFF represents full volume, and a value of 0x0000 is silence. |
 |
 |
| Return value: |
 |
| Returns MMSYSERR_NOERROR (0) if successful or an error otherwise. |
 |
 |
| Word Index links for the waveOutSetVolume : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-07-26 16:41:38 | | Modified: | 2003-07-26 16:42:49 | Visited in last 7 days: 23 |