typeStop (code 13)


A Real Time Stop message.

Stop events have no field.


Creates a Stop event and returns a pointer to the event or NIL if there is no more memory space.


MidiEvPtr Stop ( long date, short port)
{
    MidiEvPtr e;

    if ( e = MidiNewEv( typeStop ) )/* Allocate a new event. Check not NIL */ 
    {
        Date(e) = date;        /* These information are common to all */
        Port(e) = port;        /* kind of events */
    }
    return e;
}