public bool Connect(IntPtr handleTo) { if (this._disposing) { return(false); } this._lastError = Midi.MIDI_Connect(this._device, handleTo); return(this._lastError == MIDIError.MIDI_OK); }