 |
waveOutGetVolume ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The waveOutGetVolume function retrieves the current volume level of the specified waveform-audio output device. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
MMRESULT waveOutGetVolume(
HWAVEOUT hwo,
LPDWORD pdwVolume
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER waveOutGetVolume IN winmm;
INTEGER hwo,;
INTEGER @ pdwVolume
|
 |
 |
 |
| Parameters: |
 |
hwo
Handle to an open waveform-audio output device. This parameter can also be a device identifier.
pdwVolume
Pointer to a variable to be filled with the current volume setting. |
 |
 |
| Return value: |
 |
| Returns MMSYSERR_NOERROR (0) if successful or an error otherwise. |
 |
 |
| My comment: |
 |
| The low-order word of pdwVolume 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. |
 |
 |
| Word Index links for the waveOutGetVolume : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-07-26 16:39:00 | | Modified: | 2003-07-26 16:41:06 | Visited in last 7 days: 20 |