SND_SOUNDTYPE
4/8/2010
This enumeration indicates the type of sound for the SNDFILEINFO structure.
Syntax
typedef enum tagSND_SOUNDTYPE {
SND_SOUNDTYPE_ON,
SND_SOUNDTYPE_FILE,
SND_SOUNDTYPE_VIBRATE,
SND_SOUNDTYPE_NONE,
SND_SOUNDTYPE_LAST = SND_SOUNDTYPE_NONE
} SND_SOUNDTYPE;
Enumerations
- SND_SOUNDTYPE_ON
If sound is currently Vibrate or None this will restore the sound to the previous value. This is only valid for the SND_EVENT_ALL value of SND_EVENT enumeration.
- SND_SOUNDTYPE_FILE
Soundfile will be specified by the szPathName member of SNDFILEINFO structure.
- SND_SOUNDTYPE_VIBRATE
Sound is vibration. szPathName member of SNDFILEINFO structure is ignored.
- SND_SOUNDTYPE_NONE
No sound (silence). szPathName member of SNDFILEINFO structure is ignored.
- SND_SOUNDTYPE_DISABLE
Sound will be disabled and behavior will revert back to default. This applies only to SND_EVENT_KNOWNCALLERRINGTONELINE1 and SND_EVENT_ROAMINGRINGTONELINE1.
Requirements
Header | soundfile.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |