 |
waveOutPrepareHeader ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The waveOutPrepareHeader function prepares a waveform-audio data block for playback with waveOutWrite function. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
MMRESULT waveOutPrepareHeader(
HWAVEOUT hwo,
LPWAVEHDR pwh,
UINT cbwh
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER waveOutPrepareHeader IN winmm;
INTEGER hwo,;
STRING @ pwh,;
INTEGER cbwh
|
 |
 |
 |
| Parameters: |
 |
hwo
Handle to the waveform-audio output device.
pwh
Pointer to a WAVEHDR structure that identifies the data block to be prepared.
cbwh
Size, in bytes, of the WAVEHDR structure. |
 |
 |
| Return value: |
 |
| Returns MMSYSERR_NOERROR (0) if successful or an error otherwise. |
 |
 |
| My comment: |
 |
The lpData, dwBufferLength, and dwFlags members of the WAVEHDR structure must be set before calling this function (dwFlags must be zero).
The waveOutWrite function sends a data block to the given waveform-audio output device |
 |
 |
| Word Index links for the waveOutPrepareHeader : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-07-23 08:12:27 | | Modified: | 2003-07-24 09:06:14 | Visited in last 7 days: 23 |