Group: Windows Multimedia - Library: winmm
The waveInUnprepareHeader function cleans up the preparation performed by the waveInPrepareHeader function. This function must be called after the device driver fills a buffer and returns it to the application. You must call this function before freeing the buffer.
MMRESULT waveInUnprepareHeader(
HWAVEIN hwi,
LPWAVEHDR pwh,
UINT cbwh
); DECLARE INTEGER waveInUnprepareHeader IN winmm;
INTEGER hwi,;
INTEGER pwh,;
LONG cbwh
hwi Handle to the waveform-audio input device.
pwh Pointer to a WAVEHDR structure identifying the buffer to be cleaned up.
cbwh Size, in bytes, of the WAVEHDR structure.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.
Home