 |
waveOutWrite ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The waveOutWrite function sends a data block to the given waveform-audio output device. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
MMRESULT waveOutWrite(
HWAVEOUT hwo,
LPWAVEHDR pwh,
UINT cbwh
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER waveOutWrite IN winmm;
INTEGER hwo,;
STRING @ pwh,;
INTEGER cbwh
|
 |
 |
 |
| Parameters: |
 |
hwo
Handle to the waveform-audio output device.
pwh
Pointer to a WAVEHDR structure containing information about the data block.
cbwh
Size, in bytes, of the WAVEHDR structure. |
 |
 |
| Return value: |
 |
| Returns MMSYSERR_NOERROR (0) if successful or an error otherwise. |
 |
 |
| My comment: |
 |
The buffer must be prepared with the waveOutPrepareHeader function before it is passed to waveOutWrite.
When the buffer is finished, the WHDR_DONE bit is set in the dwFlags member of the WAVEHDR structure. |
 |
 |
| Word Index links for the waveOutWrite : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-07-24 09:01:42 | | Modified: | 2003-07-24 09:04:11 | Visited in last 7 days: 25 |