VOID
SoundSetVolumeControlId(
PLOCAL_DEVICE_INFO pLDI,
UCHAR VolumeControlId
);
The SoundSetVolumeControlId function assigns the specified volume control ID to the specified device.
Parameters
pLDI
Pointer to the LOCAL_DEVICE_INFO structure of the device to which the volume control ID is to be assigned.
VolumeControlId
A driver-defined volume control ID value.
Return Value
None.
Comments
The SoundSetVolumeControlId function stores the specified value in the VolumeControlID member of the LOCAL_DEVICE_INFO structure. The value is driver-defined and enables the driver to associate a device's volume settings with mixer settings. The volume ID is passed as input to functions pointed to by the HwGetControlData, HwGetCombinedControlData, and HwSetControlData members of MIXER_INFO.