WDM Audio Extensions to Legacy Windows Multimedia APIs

Recent versions of Windows have extended the audio functions in the Windows multimedia APIs aux, midiIn, midiOut, mixer, waveIn, and waveOut to output information about the status and capabilities of WDM audio drivers.

The auxGetDevCaps, midiInGetDevCaps, midiOutGetDevCaps, mixerGetDevCaps, waveInGetDevCaps, and waveOutGetDevCaps functions can retrieve driver-specific information that uniquely identifies an audio device.

The Windows multimedia functions waveInMessage, waveOutMessage, midiInMessage, midiOutMessage, and mixerMessage can retrieve the device interface name of a wave, MIDI, or mixer device. In addition, the waveOutMessage, midiOutMessage, and waveInMessage functions can retrieve the device IDs of the preferred audio devices for wave I/O, MIDI, and voice communications, respectively.

The following topics are discussed in this section:

Extended Capabilities from a WDM Audio Driver

System-Intercepted Device Messages

Accessing the Preferred Device ID

Preferred Voice-Communications Device ID

Obtaining a Device Interface Name

Music Technology GUIDs