<!--
{
  "availability" : [
    "iOS: 4.2.0 -",
    "iPadOS: 4.2.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.2.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/MIDIThruConnectionFind(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core MIDI"
    ],
    "preciseIdentifier" : "c:@F@MIDIThruConnectionFind"
  },
  "title" : "MIDIThruConnectionFind(_:_:)"
}
-->

# MIDIThruConnectionFind(_:_:)

Finds the persistent thru connections for the specified client.

```
func MIDIThruConnectionFind(_ inPersistentOwnerID: CFString, _ outConnectionList: UnsafeMutablePointer<Unmanaged<CFData>>) -> OSStatus
```

## Parameters

`inPersistentOwnerID`

The identifier of the owning object.

`outConnectionList`

On successful return, a <doc://com.apple.documentation/documentation/CoreFoundation/CFData> that contains an array of MIDI thru connections.

## Return Value

An `OSStatus` result code.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)