This command is used to set the hardware
volume.
The status of this option can be retrieved
using mnGetHardwareVolumeLeft and mnGetHardwareVolumeRight.
This command will fail if the device specified during mnStartOutput does not support change in playback rate. You can check for support using mnGetDeviceHardwareSupport.
int InstanceID: The output instance ID that this command should use.
unsigned short LeftVolume: The new left channel volume.
unsigned short RightVolume: The new right channel volume.
0 if no error occurred.
-1 if an error occurred.
DBP
C++
.Net