Function

MIDIEntityAddOrRemoveEndpoints(_:_:_:)

Declaration

func MIDIEntityAddOrRemoveEndpoints(_ entity: MIDIEntityRef, _ numSourceEndpoints: Int, _ numDestinationEndpoints: Int) -> OSStatus

Parameters

entity

The entity whose endpoints are to be manipulated.

numSourceEndpoints

The desired new number of source endpoints.

numDestinationEndpoints

The desired new number of destination endpoints.

Return Value

A result code.

Discussion

Drivers and configuration editors may call this function to add to or remove an entity's endpoints.

New for CoreMIDI 1.3.