MMRESULT waveInStop(hWaveIn) | |||
HWAVEIN hWaveIn; |
The waveInStop function stops waveform input.
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:
Value | Meaning |
MMSYSERR_INVALHANDLE | Specified device handle is invalid. |
MMSYSERR_HANDLEBUSY | The handle hWaveIn is in use on another thread. |
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