Plattform
Windows 95: Supporterad.
Windows 98: Supporterad.
Windows NT: Requires Windows NT 3.1 eller senare.
Windows 2000: Supporterad.
Windows CE: Not Supporterad.
Returnerar
If an error occured, the function returns a non-zero error code. If successful, the function returns 0.
Parameters
uDeviceID
The device ID of the auxiliary audio device to set the volume of. Valid values range from zero to the number of auxiliary audio devices minus one.
dwVolume
The new volume setting of the device. If the device supports separate left and right channel volumes, the low-order word contains the left channel volume and the high-order word contains the right channel volume. If the device supports only one overall volume, the low-order word is the volume. Valid volumes range from &H0 to &HFFFF.2024-11-23" />