Freigeben über


midiOutGetNumDevs function

The midiOutGetNumDevs function retrieves the number of MIDI output devices present in the system.

Syntax

UINT midiOutGetNumDevs(void);

Parameters

This function has 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).

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

Library

Winmm.lib

DLL

Winmm.dll

See also

MIDI Functions