MODM_GETNUMDEVS

This message is sent to a MIDI output device driver to request the number of MIDI output devices available.

Parameters

DWORD dwParam1

Unused.

DWORD dwParam2

Unused.

Return Value

Returns the number of output devices the driver supports.

Comments

Drivers can be structured in several ways. The simplest and most common drivers will use one physical device to support one logical device. Drivers can also support multiple logical devices using a single physical device. For example, it can use a single DSP to support two different types of internal synthesizers. Such a driver would return a value of 2 for this message.