midiInGetNumDevs function (mmeapi.h)
The midiInGetNumDevs function retrieves the number of MIDI input devices in the system.
Syntax
UINT midiInGetNumDevs();
Return value
Returns the number of MIDI input devices present in the system. A return value of zero means that there are no devices (not that there is no error).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | mmeapi.h (include Windows.h) |
Library | Winmm.lib |
DLL | Winmm.dll |