This structure is used to set and retrieve information about event sounds.
typedef struct tagSNDFILEINFO { TCHAR szPathName[MAX_PATH]; TCHAR szDisplayName[MAX_PATH]; SND_SOUNDTYPE sstType; } SNDFILEINFO;
A pointer to a string indicating the fully qualified path to the sound file.
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.
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.