Contents

MIDIThruConnectionCreate(_:_:_:)

Creates a MIDI thru connection.

Declaration

func MIDIThruConnectionCreate(_ inPersistentOwnerID: CFString?, _ inConnectionParams: CFData, _ outConnection: UnsafeMutablePointer<MIDIThruConnectionRef>) -> OSStatus

Parameters

  • inPersistentOwnerID:

    A unique identifier of the owning object, such as com.mycompany.MyApp. If you pass NULL, 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.

See Also

Managing Connections