Handle to the waveform-audio input device. If the function succeeds, the handle is no longer valid after this call.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.
If there are input buffers that have been sent with the waveInAddBuffer function and that haven"t been returned to the application, the close operation will fail. Call the waveInReset function to mark all pending buffers as done.