midiInReset

Syntax

WORD midiInReset(hMidiIn)

This function stops input on a given MIDI input device and marks all pending input buffers as done.

Parameters

HMIDIIN hMidiIn

Specifies a handle to the MIDI 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

midiInStart, midiInStop, midiInAddBuffer, midiInClose