waveInStop (Windows CE 5.0)
This function stops waveform input.
MMRESULT waveInStop(HWAVEINhwi );
Handle to the waveform-audio input device.
One of the values described in the following table is returned.
|MMSYSERR_INVALHANDLE||Specified device handle is invalid.|
|MMSYSERR_NODRIVER||No device driver is present.|
|MMSYSERR_NOMEM||Unable to allocate or lock memory.|
If there are any buffers in the queue, the current buffer will be marked as done (the dwBytesRecorded member in the header will contain the 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.
OS Versions: Windows CE 2.0 and later.
Link Library: Coredll.lib.
Send Feedback on this topic to the authors