DRV_QUERYMAPPABLE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// mmddk.h

DWORD  xxxMessage(
   UINT      uDeviceID,
   UINT      uMsg,
   DWORD_PTR dwParam1,
   DWORD_PTR dwParam2
);
View the official Windows hardware development documentation

NtDoc

No description available.

Windows hardware development documentation (drv-querymappable)

DRV_QUERYMAPPABLE function

The DRV_QUERYMAPPABLE message queries for whether the specified device can be used by a mapper.

Parameters

Return value

The xxxMessage function returns MMSYSERR_NOERROR if the device is mappable. Otherwise, it returns an appropriate error code.

Remarks

This message is valid only for the waveInMessage, waveOutMessage, midiInMessage, midiOutMessage, mixerMessage and auxOutMessage functions. The system intercepts this message and returns the appropriate value without sending the message to the device driver. For general information about system-intercepted xxxMessage functions, see System-Intercepted Device Messages.

When an application program opens a mapper instead of a specific audio device, the system inserts a mapper between the application and the available devices. The mapper selects an appropriate device by mapping the application's requirements to one of the available devices. For more information about mappers, see the Microsoft Windows SDK documentation.

Requirements

Target platform Desktop
Version Supported in Microsoft Windows Me/98 and Windows 2000 and later operating systems.
Header Mmddk.h (include Mmddk.h)

See also

auxOutMessage

midiInMessage

midiOutMessage

mixerMessage

System-Intercepted Device Messages

waveInMessage

waveOutMessage