WORD waveInStart(hWaveIn)
This function starts input on the specified waveform input device.
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.
Buffers are returned to the client when full or when waveInReset is called (the dwBytesRecorded field in the header will contain the actual length of data). If there are no buffers in the queue, the data is thrown away without notification to the client, and input continues.
Calling this function when input is already started has no effect, and the function returns zero.
waveInStop, waveInReset