BASS.NET API for the Un4seen BASS Audio LibraryMIDIError EnumerationBASS.NET API for the Un4seen BASS Audio Library
General list of Midi Error Codes.

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

public enum MIDIError

  Member nameValueDescription
MIDI_OK0 no error
MIDI_ERROR_ERROR1 unspecified error
MIDI_ERROR_BADDEVICEID2 device ID out of range
MIDI_ERROR_NOTENABLED3 driver failed enable
MIDI_ERROR_ALLOCATED4 device already allocated
MIDI_ERROR_INVALHANDLE5 device handle is invalid
MIDI_ERROR_NODRIVER6 no device driver present
MIDI_ERROR_NOMEM7 memory allocation error
MIDI_ERROR_NOTSUPPORTED8 function isn't supported
MIDI_ERROR_BADERRNUM9 error value out of range
MIDI_ERROR_INVALFLAG10 invalid flag passed
MIDI_ERROR_INVALPARAM11 invalid parameter passed
MIDI_ERROR_HANDLEBUSY12 handle being used
MIDI_ERROR_INVALIDALIAS13 specified alias not found
MIDI_ERROR_BADDB14 bad registry database
MIDI_ERROR_KEYNOTFOUND15 registry key not found
MIDI_ERROR_READERROR16 registry read error
MIDI_ERROR_WRITEERROR17 registry write error
MIDI_ERROR_DELETEERROR18 registry delete error
MIDI_ERROR_VALNOTFOUND19 registry value not found
MIDI_ERROR_NODRIVERCB20 driver does not call DriverCallback
MIDI_ERROR_UNPREPARED64 header not prepared
MIDI_ERROR_STILLPLAYING65 still something playing
MIDI_ERROR_NOMAP66 no configured instruments
MIDI_ERROR_NOTREADY67 hardware is still busy
MIDI_ERROR_NODEVICE68 port no longer connected
MIDI_ERROR_BADOPENMODE70 operation unsupported w/ open mode
MIDI_ERROR_DONT_CONTINUE71 thru device 'eating' a message

In order to retrieve a textual description of the error code use MIDI_GetErrorText(Boolean, Int32).
See Also