|   
 
 
 | 
						
							
								| midiOutClose The midiOutClose function closes the specified MIDI output device. | VB4-32,5,6 Declare Function midiOutClose Lib "winmm.dll" (ByVal hMidiOut As Long) As Long
 | 
 
 | Operating Systems Supported | 
 | Requires Windows NT 3.1 or later; Requires Windows 95 or later | 
 
 | · hmo Handle of the MIDI output device. If the function is successful, the handle is no longer valid after the call to this function.
 | 
 | Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible error values include the following: MIDIERR_STILLPLAYING
 Buffers are still in the queue.
 
 MMSYSERR_INVALHANDLE
 The specified device handle is invalid.
 
 MMSYSERR_NOMEM
 The system is unable to load mapper string description.
 | 
 
     |  |  |