BASS.NET API for the Un4seen BASS Audio Library

BassMidiBASS_MIDI_InStart Method

BASS.NET API for the Un4seen BASS Audio Library
Starts a MIDI input device.

Namespace:  Un4seen.Bass.AddOn.Midi
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[DllImportAttribute("bassmidi")]
public static bool BASS_MIDI_InStart(
	int device
)

Parameters

device
Type: SystemInt32
The device to start.

Return Value

Type: Boolean
If successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

ERROR CODEDescription
BASS_ERROR_DEVICEThe device number specified is invalid.
BASS_ERROR_INITThe device has not been initialized.
BASS_ERROR_UNKNOWNSome other mystery problem!

See Also

Reference