次の方法で共有


SND_SOUNDTYPE

Send Feedback

This enumeration indicates the type of sound for the SNDFILEINFO structure.

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

Pocket PC: Windows Mobile Version 5.0 and later
Smartphone: Windows Mobile Version 5.0 and later
OS Versions: Windows CE 5.0 and later
Header: Soundfile.h

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.