midiOutGetNumDevs 函数检索系统中存在的 MIDI 输出设备数。
语法
UINT midiOutGetNumDevs();
返回值
返回 MIDI 输出设备的数量。 返回值零表示没有设备 (没有错误) 。
要求
| 最低受支持的客户端 | Windows 2000 Professional [仅限桌面应用] |
| 最低受支持的服务器 | Windows 2000 Server [仅限桌面应用] |
| 目标平台 | Windows |
| 标头 | mmeapi.h (包括 Windows.h) |
| Library | Winmm.lib |
| DLL | Winmm.dll |