MidiIsSlotConnected


Gives the state of a connection between a MidiShare port and a driver slot.

    Boolean MidiIsSlotConnected (short port, SlotRefNum ref);

port
a 16-bits integer, it is a MidiShare port number
ref
the slot reference number

The result is true when a connection exist between the port and the slot and false otherwise.