How can I call an API to play MIDI file in Form_Load()

Please help