BASS.NET API for the Un4seen BASS Audio LibraryBassMidiBASS_MIDI_InFree Method BASS.NET API for the Un4seen BASS Audio Library
Frees a MIDI input device.

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

[DllImportAttribute("bassmidi.dll", CharSet = CharSet.Unicode)]
public static bool BASS_MIDI_InFree(
	int device
)

Parameters

device
Type: SystemInt32
The device to free.

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.

See Also

Reference