Windows Multimedia DDK (mddkqh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
MODM_GETNUMDEVS
                                                 Contents Index Back
────────────────────────────────────────────────────────────────────────────
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.
 
                                       -♦-