A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



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

Library
Winmm

Parameter Information
- hmo
Handle of the MIDI output device. If the function is successful, the handle is no longer valid after the call to this function.

Return Values
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.

Last update: 07 April 2006