An end of track event (from the Midi File 1.0 specification). This event cannot be sent to external Midi devices.
![]()
typeEndTrack events have no field.
Creates a typeEndTrack event. Return a pointer to the event or NIL if there is not enough memory space.
MidiEvPtr EndTrack ( long date )
{
MidiEvPtr e;
if ( e = MidiNewEv(typeEndTrack)) /* Allocate a new event. Check not NIL */
{
Date(e) = date;
}
return e;
}