Contents

MIDIDeviceGetNumberOfEntities(_:)

Returns the number of entities in a device.

Declaration

func MIDIDeviceGetNumberOfEntities(_ device: MIDIDeviceRef) -> Int

Parameters

  • device:

    The device to query.

Return Value

The number of entities the device contains, or 0 if an error occurred.

See Also

Device lookup