<!--
{
  "documentType" : "article",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/midi_system_setup-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated Symbols"
}
-->

# Deprecated Symbols

Review unsupported symbols and their replacements.

## Topics

### Managing System Setup

[`extern OSStatus MIDISetupCreate(MIDISetupRef *outSetup);`](/documentation/CoreMIDI/MIDISetupCreate)

Queries drivers to discover what hardware is available.

[`extern OSStatus MIDISetupDispose(MIDISetupRef setup);`](/documentation/CoreMIDI/MIDISetupDispose)

Disposes the specified setup object.

[`extern OSStatus MIDISetupFromData(CFDataRef data, MIDISetupRef *outSetup);`](/documentation/CoreMIDI/MIDISetupFromData)

Creates a MIDISetup object from an XML stream.

[`extern OSStatus MIDISetupGetCurrent(MIDISetupRef *outSetup);`](/documentation/CoreMIDI/MIDISetupGetCurrent)

Returns the system’s current MIDISetup.

[`extern OSStatus MIDISetupInstall(MIDISetupRef setup);`](/documentation/CoreMIDI/MIDISetupInstall)

Installs a MIDISetup as the system’s current state.

[`extern OSStatus MIDISetupToData(MIDISetupRef setup, CFDataRef*outData);`](/documentation/CoreMIDI/MIDISetupToData)

Creates an XML representation of a MIDISetup object.

[`typealias MIDISetupRef`](/documentation/CoreMIDI/MIDISetupRef)

A type that represents the global state of the MIDI system, that contains lists of the devices and serial port owners.

### Managing Serial Ports

[`extern OSStatus MIDIGetSerialPortOwner(CFStringRef portName, CFStringRef*outDriverName);`](/documentation/CoreMIDI/MIDIGetSerialPortOwner)

Returns the MIDI driver that owns a serial port.

[`extern OSStatus MIDISetSerialPortOwner(CFStringRef portName, CFStringRef driverName);`](/documentation/CoreMIDI/MIDISetSerialPortOwner)

Specifies the MIDI driver that owns a serial port.

[`extern OSStatus MIDIGetSerialPortDrivers(CFArrayRef*outDriverNames);`](/documentation/CoreMIDI/MIDIGetSerialPortDrivers)

Returns a list of installed MIDI drivers for serial port MIDI devices.

### Managing MIDI Devices

[`func MIDIDeviceAddEntity(MIDIDeviceRef, CFString, Bool, Int, Int, UnsafeMutablePointer<MIDIEntityRef>) -> OSStatus`](/documentation/CoreMIDI/MIDIDeviceAddEntity(_:_:_:_:_:_:))

Specifies one of the entities that make up a device.



---

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)