BASS.NET API for the Un4seen BASS Audio LibraryMidiOutputDeviceConnect Method BASS.NET API for the Un4seen BASS Audio Library
Connects this output device (must actually be a MIDI thru device) to a MIDI output device.

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

public bool Connect(
	IntPtr handleTo
)

Parameters

handleTo
Type: SystemIntPtr
Handle to the MIDI output device.

Return Value

Type: Boolean
on success, else will be returned.
Remarks

After calling this function, this Device receives event data messages whenever a message with the same event data is sent to the output device driver.

A thru driver is a special form of MIDI output driver. The system will allow only one MIDI output device to be connected to a MIDI input device, but multiple MIDI output devices can be connected to a MIDI thru device. Whenever this Device receives event data messages, a message with the same event data is sent to the given output device driver (or through the thru driver to the output drivers).

See Also

Reference