WIDM_STOP

This message is sent to a waveform input device driver to stop waveform recording.

Parameters

DWORD dwParam1

Unused.

DWORD dwParam2

Unused.

Return Value

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.

Comments

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