BASS.NET API for the Un4seen BASS Audio LibraryMidiMIDI_OutMessage Method BASS.NET API for the Un4seen BASS Audio Library
Sends a message to the MIDI device driver (output).

Namespace: radio42.Multimedia.Midi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.13.3
Syntax

public static int MIDI_OutMessage(
	IntPtr handle,
	MIDIMessage msg,
	IntPtr param1,
	IntPtr param2
)

Parameters

handle
Type: SystemIntPtr
Identifier of the MIDI device that receives the message (must be a handle type).
msg
Type: radio42.Multimedia.MidiMIDIMessage
Message to send (e.g. one of the MIDIMessage values).
param1
Type: SystemIntPtr
Message parameter 1.
param2
Type: SystemIntPtr
Message parameter 2.

Return Value

Type: Int32
Returns the value returned by the audio device driver.
Remarks

This function is used only for driver-specific messages that are not supported by the MIDI API.
See Also

Reference