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

# MIDIExternalDeviceCreate(_:_:_:_:)

Creates an external MIDI device.

```
func MIDIExternalDeviceCreate(_ name: CFString, _ manufacturer: CFString, _ model: CFString, _ outDevice: UnsafeMutablePointer<MIDIDeviceRef>) -> OSStatus
```

## Parameters

`name`

The name of the device to create.

`manufacturer`

The name of the device’s manufacturer.

`model`

The model name of the device.

`outDevice`

On successful return, this points to the newly created device.

## Return Value

An `OSStatus` result code.

## Discussion

Non-drivers may call this function to create external devices.

---

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)