BASS.NET API for the Un4seen BASS Audio Library

MidiInputDeviceConnect Method

BASS.NET API for the Un4seen BASS Audio Library
Connects this input device to a MIDI thru or output device.

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

public bool Connect(
	IntPtr handleTo
)

Parameters

handleTo
Type: SystemIntPtr
Handle to the MIDI output device or thru 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