extern MIDIEntityRef MIDIDeviceGetEntity( MIDIDeviceRef device, ItemCount entityIndex0 );
NameDescription deviceThe device being queried. entityIndex0The index (0...MIDIDeviceGetNumberOfEntities(device)-1) of the entity to return