SoundVolumeNotify

VOID
   SoundVolumeNotify(
       IN OUT PLOCAL_DEVICE_INFO
pLDI
       );

The SoundVolumeNotify function is used by mixer drivers to notify clients when a device’s volume changes.

Parameters

pLDI

Pointer to a LOCAL_DEVICE_INFO structure representing the device whose volume has changed.

Return Value

None.

Comments

The function traverses the IRP queue pointed to by the VolumeQueue member of the LOCAL_DEVICE_INFO structure, calling IoCompleteRequest for each queue entry.

Mixer drivers only call this function if volume is controlled in software. For an example, see sndsys.sys, the kernel-mode driver for the Windows Sound System synthesizer. Sources for this driver are in \src\mmedia\sndsys\driver.