Sends an event. A copy of the event is sent to all the application destinations. The date argument is used to specify when destinations will actually receive the event.
![]()
pascal void MidiSendAt( short refNum, MidiEvPtr e, long d );
![]()
refNum- a 16-bit integer, it is the reference number of the application.
e- a MidiEvePtr, it is a pointer to the event to send.
d- a 32-bit integer, the date when destinations will receive the event.
Equivalence between MidiSend, MidiSendAt and MidiSendIm.
MidiSendAt(myRefNum,e,MidiGetTime()); /* is equivalent to */ MidiSendIm(myRefNum,e); /* is equivalent to */ Date(e) = MidiGetTime(); MidiSend( myRefNum, e );