midiStreamClose  1LOAZQ. 

The midiStreamClose function closes an open MIDI stream.

MMRESULT midiStreamClose(

    HMIDISTRM hStream

 

   );

 

 

Parameters

hStream

Handle of a MIDI stream, as retrieved by using the midiStreamOpen function.

 

Return Values

Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible error values include the following:

MMSYSERR_INVALHANDLE

The specified device handle is invalid.

 

See Also

midiStreamOpen