MMRESULT midiInReset(hMidiIn) | |||
HMIDIIN hMidiIn; |
The midiInReset function stops input on a given MIDI input device and marks all pending input buffers as done.
hMidiIn
Specifies a handle to the MIDI input device.
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. |
midiInStart, midiInStop, midiInAddBuffer, midiInClose