Group: Windows Multimedia - Library: winmm
The waveInAddBuffer function sends an input buffer to the given waveform-audio input device. When the buffer is filled, the application is notified.
MMRESULT waveInAddBuffer(
HWAVEIN hwi,
LPWAVEHDR pwh,
UINT cbwh
);
DECLARE INTEGER waveInAddBuffer IN winmm;
INTEGER hwi,;
INTEGER pwh,;
LONG cbwh
hwi Handle to the waveform-audio input device.
pwh Pointer to a WAVEHDR structure that identifies the buffer.
cbwh Size, in bytes, of the WAVEHDR structure.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.