Provided by: allegro4-doc_22.214.171.124-1_all
lock_midi - Locks all the memory used by a MIDI file. Allegro game programming library.
#include <allegro.h> void lock_midi(MIDI *midi);
Under DOS, locks all the memory used by a MIDI file. You don't normally need to call this function because load_midi() does it for you.