Provided by: liballegro-doc_4.2.2-3_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.