Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 849 Bytes

midiOutGetNumDevs.md

File metadata and controls

39 lines (25 loc) · 849 Bytes

Home

Function name : midiOutGetNumDevs

Group: Windows Multimedia - Library: winmm


Retrieves the number of MIDI output devices present in the system.


Code examples:

Enumerating MIDI output devices
How to play MIDI notes

Declaration:

UINT midiOutGetNumDevs(VOID);  

FoxPro declaration:

DECLARE INTEGER midiOutGetNumDevs IN Winmm
  

Parameters:

This function takes no parameters.


Return value:

Returns the number of MIDI output devices. A return value of zero means that there are no devices (not that there is no error).