midiInReset
The midiInReset function stops input on a given MIDI input device.
MMRESULT midiInReset(
HMIDIIN hMidiIn
);
Parameters
hMidiIn
Handle to the MIDI input device.
Return Values
Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible error values include the following.
Value | Meaning |
MMSYSERR_INVALHANDLE | The specified device handle is invalid. |
Remarks
This function returns all pending input buffers to the callback function and sets the MHDR_DONE flag in the dwFlags member of the MIDIHDR structure.
Requirements
** Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
** Windows 95/98/Me:** Included in Windows 95 and later.
** Header:** Declared in Mmsystem.h; include Windows.h.
** Library:** Use Winmm.lib.
See Also
Musical Instrument Digital Interface (MIDI), MIDI Functions, MIDIHDR