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.
load_midi(3alleg4)