WIDM_START

This message is sent to a waveform input device driver to begin 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

Buffers are returned to the client either when full or when a WIDM_RESET message is received. The driver should place the actual length of data in the dwBytesRecorded field in the header. If input is already started, just return MMSYSERR_NOERROR.

See Also

WIDM_STOP