Assembly: Bass.Net (in Bass.Net.dll) Version: 188.8.131.52
public static MIDIError MIDI_OutReset( IntPtr handle )
Public Shared Function MIDI_OutReset ( handle As IntPtr ) As MIDIError
- Type: SystemIntPtr
Handle to the MIDI output device.
Return ValueType: MIDIError
Returns 0 if successful or an error code otherwise. For possible error values see MIDIError.
Any pending system-exclusive or stream output buffers are returned to the callback function and the MHDR_DONE flag is set in the Flags member of the MIDI_HEADER structure.
Terminating a system-exclusive message without sending an EOX (end-of-exclusive) byte might cause problems for the receiving device. Thefunction does not send an EOX byte when it terminates a system-exclusive message — applications are responsible for doing this.
To turn off all notes, a note-off message for each note in each channel is sent. In addition, the sustain controller is turned off for each channel.