WORD waveInStop(hWaveIn)
This function stops waveform input.
HWAVEIN hWaveIn
Specifies a handle to the waveform input device.
Returns zero if the function was successful. Otherwise, it returns an error number. Possible error returns are:
MMSYSERR_INVALHANDLE
Specified device handle is invalid.
If there are any buffers in the queue, the current buffer will be marked as done (the dwBytesRecorded field in the header will contain the actual length of data), but any empty buffers in the queue will remain there. Calling this function when input is not started has no effect, and the function returns zero.
waveInStart, waveInReset