A kernel operation may fail outside the call of the MidiShare API. These errors are global to the system and concern all the clients. MidiGetError gives the list of the system errors under the form of a bit field.
pascal long MidiGetError ();
a 32 bit value. Possible errors are any combination of:
- MIDInoErr : no error
- MIDIerrDriverLoad : indicates a failure to load a driver
- MIDIerrTime : indicates a failure to activate time interrupts
MidiGetError() is not available before MidiShare version 1.91.