Provided by: allegro4-doc_4.4.2-10_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.