共用方式為


KSPROPERTY_SYNTH_VOLUME

The KSPROPERTY_SYNTH_VOLUME property gets or sets the volume level of a synthesizer device.

Usage Summary Table

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.

Return Value

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.

 

Requirements

Header

Dmusprop.h (include Dmusprop.h)

See also

KSPROPERTY

 

 

Send comments about this topic to Microsoft