The KSPROPERTY_SYNTH_VOLUME property gets or sets the volume level of a synthesizer device.
| Get | Set | Target | Property Descriptor Type | Property Value Type |
|---|---|---|---|---|
| Yes | Yes | Pin | KSPROPERTY | LONG |
The property value (operation data) is of type LONG and specifies the volume level of the synthesizer device. The volume setting is specified in units of 1/100ths of a decibel. The miniport driver should either change its volume or report its volume, depending on whether the request is to get or set the property.
A KSPROPERTY_SYNTH_VOLUME property request returns STATUS_SUCCESS to indicate that it has completed successfully. Otherwise, the request returns an appropriate error status code. The following table shows some of the possible error codes.
| Status Code | Meaning |
|---|---|
| STATUS_BUFFER_TOO_SMALL | The buffer was too small to complete the operation. |
| STATUS_UNSUCCESSFUL | The operation did not complete successfully. |
Declared in dmusprop.h. Include dmusprop.h.