Group: Windows Multimedia - Library: winmm
Enumerating MIDI output devices
How to play MIDI notes
MMRESULT midiOutClose(
HMIDIOUT hmo
);
DECLARE INTEGER midiOutClose IN Winmm INTEGER hmo
hmo Handle to the MIDI output device.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.
See also: midiOutOpen, midiOutReset.