This message is sent to a waveform input device driver to stop waveform recording.
DWORD dwParam1
Unused.
DWORD dwParam2
Unused.
The return value is an error code, or zero (MMSYSERR_NOERROR) if the operation is successful. Possible error codes are:
MMSYSERR_NOTENABLED
The driver failed to load or initialize.
If the current buffer is partially full, it should be marked as done and returned to the client. Any empty buffers in the queue should remain there. Calling this function when input is not started should have no effect and MMSYSERR_NOERROR should be returned.