MIDIThruConnectionCreate(_:_:_:)
Creates a MIDI thru connection.
Declaration
func MIDIThruConnectionCreate(_ inPersistentOwnerID: CFString?, _ inConnectionParams: CFData, _ outConnection: UnsafeMutablePointer<MIDIThruConnectionRef>) -> OSStatusParameters
- inPersistentOwnerID:
A unique identifier of the owning object, such as
com.mycompany.MyApp. If you passNULL, the client owns the connection and it’s automatically disposed with the client. - inConnectionParams:
A Midithruconnectionparams object that’s contained in a Cfdata.
- outConnection:
On successful return, a reference to the newly created connection.
Return Value
An OSStatus result code.