waveInReset

Syntax

WORD waveInReset(hWaveIn)

This function stops input on a given waveform input device and resets the current position to 0. All pending buffers are marked as done and returned to the application.

Parameters

HWAVEIN hWaveIn

Specifies a handle to the waveform input device.

Return Value

Returns zero if the function was successful. Otherwise, it returns an error number. Possible error returns are:

MMSYSERR_INVALHANDLE

Specified device handle is invalid.

See Also

waveInStart, waveInStop, waveInAddBuffer, waveInClose