WORD midiInGetNumDevs()
This function retrieves the number of MIDI input devices in the system.
None
Returns the number of MIDI input devices present in the system.
midiInGetDevCaps