Partager via


SNDFILEINFO

4/8/2010

This structure is used to set and retrieve information about event sounds.

Syntax

typedef struct tagSNDFILEINFO {
   TCHAR szPathName[MAX_PATH];
   TCHAR szDisplayName[MAX_PATH];
   SND_SOUNDTYPE sstType;
} SNDFILEINFO;

Members

  • szPathName[MAX_PATH]
    A pointer to a string indicating the fully qualified path to the sound file.
  • szDisplayName[MAX_PATH]
    A pointer to a string indicating the friendly name of a sound file, that is the name of the file without extension or path. When used with SndSetSound, szDisplayName is ignored.
  • sstType
    A SND_SOUNDTYPE enumeration indicating the type of sound that is played for the event. If this is not equal to SND_SOUNDTYPE_FILE, szPathName is ignored.

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

See Also

Reference

Sounds Structures