typeReset (code 16)


A Real Time Reset message.

Reset events have no field.


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


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

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