WIDM_STOP

Sent to a waveform input device driver to stop waveform recording.

MMSYSERR_NOTENABLED The driver failed to load or initialize.

DWORD dwParam1
Unused.
DWORD dwParam2
Unused.

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.

See Also

WIDM_START, WIDM_RESET