midiInReset

  MMRESULT midiInReset(hMidiIn)    
  HMIDIIN hMidiIn;    

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

Parameters

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:

Value Meaning

MMSYSERR_INVALHANDLE Specified device handle is invalid.

See Also

midiInStart, midiInStop, midiInAddBuffer, midiInClose