Compartilhar via


waveOutGetNumDevs function

The waveOutGetNumDevs function retrieves the number of waveform-audio output devices present in the system.

Syntax

UINT waveOutGetNumDevs(void);

Parameters

This function has no parameters.

Return value

Returns the number of devices. A return value of zero means that no devices are present or that an error occurred.

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

Waveform Audio

Waveform Functions