<!--
{
  "documentType" : "article",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/CoreMIDI-macros",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Core MIDI Macros"
}
-->

# Core MIDI Macros

## Topics

### Macros

[`#define CM_CONSTEXPR`](/documentation/CoreMIDI/CM_CONSTEXPR)

[`static var badRequestID: MIDICIPropertyExchangeRequestID`](/documentation/CoreMIDI/MIDICIPropertyExchangeRequestID/badRequestID)

[`#define kMIDIDriverInterface2ID`](/documentation/CoreMIDI/kMIDIDriverInterface2ID)

[`#define kMIDIDriverInterface3ID`](/documentation/CoreMIDI/kMIDIDriverInterface3ID)

[`#define kMIDIDriverInterfaceID`](/documentation/CoreMIDI/kMIDIDriverInterfaceID)

[`#define kMIDIDriverTypeID`](/documentation/CoreMIDI/kMIDIDriverTypeID)

[`#define MIDI_API_UNAVAILABLE_NON_MACOS`](/documentation/CoreMIDI/MIDI_API_UNAVAILABLE_NON_MACOS)

[`#define MIDI_AVAILABLE_UMP1_1`](/documentation/CoreMIDI/MIDI_AVAILABLE_UMP1_1)

[`#define MIDICI1_0_AVAILABILITY`](/documentation/CoreMIDI/MIDICI1_0_AVAILABILITY)

[`#define MIDICI1_0_DEPRECATED`](/documentation/CoreMIDI/MIDICI1_0_DEPRECATED)

[`#define MIDICI1_0`](/documentation/CoreMIDI/MIDICI1_0)

[`#define MIDICI1_1_AVAILABILITY`](/documentation/CoreMIDI/MIDICI1_1_AVAILABILITY)

[`#define MIDICI1_1_DEPRECATED`](/documentation/CoreMIDI/MIDICI1_1_DEPRECATED)

[`#define MIDICI1_1`](/documentation/CoreMIDI/MIDICI1_1)

[`#define MIDICI1_2`](/documentation/CoreMIDI/MIDICI1_2)

[`#define MIDINETWORKSESSION_AVAILABLE`](/documentation/CoreMIDI/MIDINETWORKSESSION_AVAILABLE)

[`static let endpointObject: MIDIUMPEndpointManager.DictionaryKey`](/documentation/CoreMIDI/MIDIUMPEndpointManager/DictionaryKey/endpointObject)

[`static let functionBlockObject: MIDIUMPEndpointManager.DictionaryKey`](/documentation/CoreMIDI/MIDIUMPEndpointManager/DictionaryKey/functionBlockObject)



---

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)