Partager via


Volume constants (Windows Embedded CE 6.0)

1/6/2010

The following table shows the minimum and maximum constants for the Volume dialog. They are part of the API exposed by PhCommon in VolumeAPI.cpp and defined in Settingsapi.hpp. They are used to set the volume for the speaker, ringer, handset and microphone. The range is mapped to the actual audio range of the particular device.

Value Description

c_MaxUIVolume = 10

Maximum volume setting. Used to create a trackbar showing the current speaker volume setting for various elements. The slider on the trackbar represents the current volume level, with a range going from zero to ten, in increments of one.

c_MinUIVolume = 0

Minimum volume setting.

Remarks

Note

This documentation applies to functionality implemented in sample code for PhCommon. For more information, see PhCommon Reference.

Requirements

Header settingsapi.hpp
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

PhCommon Constants
PhCommon Reference