Group: Windows Multimedia - Library: winmm
Quering a waveform-audio input device
Class for sound recording
MMRESULT waveInClose(
HWAVEIN hwi
);
DECLARE INTEGER waveInClose IN winmm;
INTEGER hwi
hwi 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.