---
title: "MIDIGetDriverDeviceList(_:)"
framework: coremidi
role: symbol
role_heading: Function
path: "coremidi/midigetdriverdevicelist(_:)"
---

# MIDIGetDriverDeviceList(_:)

Returns the list of driver-created devices in the current MIDI setup.

## Declaration

```swift
func MIDIGetDriverDeviceList(_ driver: MIDIDriverRef) -> MIDIDeviceListRef
```

## Parameters

- `driver`: The driver for which you return devices.

## Return Value

Return Value The requested device list.

## Discussion

Discussion Dispose this list when you’re finished working with it by calling MIDIDeviceListDispose(_:).

## See Also

### Inspecting a Driver

- [MIDIDriverEnableMonitoring(_:_:)](coremidi/mididriverenablemonitoring(_:_:).md)
- [MIDIGetDriverIORunLoop()](coremidi/midigetdriveriorunloop().md)
- [kMIDIDriverPropertyUsesSerial](coremidi/kmididriverpropertyusesserial.md)
- [MIDIDriverInterface](coremidi/mididriverinterface.md)
- [MIDIDriverRef](coremidi/mididriverref.md)
