MIDI input

Blitz3D Forums/Blitz3D Beginners Area/MIDI input

From this old thread it looks like one can use winmm.dll, which comes with Windows, by creating a winmm.decls for the userlibs directory:
http://www.blitzbasic.com/Community/posts.php?topic=40090

But, does anyone know how to use winmm for MIDI input? Functioning BB code ideally.