See also WODM_SETVOLUME
Sent to a waveform output device driver to request the current volume level setting for a device.
MMSYSERR_NOTENABLED | The driver failed to load or initialize. |
MMSYSERR_NOTSUPPORTED | The driver does not support changes to volume level. |
DWORD dwParam1
Specifies a far pointer to a DWORD location. The driver fills this location with the current volume level setting. The high-order word contains the right channel setting and the low-order word contains the left channel setting. A value of 0 is silence, and a value of 0xFFFF is full volume. If the driver does not support both left and right channel volume changes, it returns the volume in the low-order word.
DWORD dwParam2
Unused.
Drivers do not have to support volume level changes. However, if a driver supports changes to the volume level with the WODM_SETVOLUME message, it must support queries with the WODM_GETVOLUME message.