Contents

MIDIDeviceListGetNumberOfDevices(_:)

Retrieves the number of devices in a device list.

Declaration

func MIDIDeviceListGetNumberOfDevices(_ devList: MIDIDeviceListRef) -> Int

Parameters

  • devList:

    The device list.

Return Value

The number of devices in the list, or 0 if an error occurred.

See Also

Managing Device Lists