typedef struct OpaqueMIDIPort * MIDIPortRef;();
Derives from MIDIObjectRef, owned by a MIDIClientRef. A MIDIPortRef, which may be an input port or output port, is an object through which a client may communicate with any number of MIDI sources or destinations.