Click to Rate and Give Feedback
MSDN
MSDN Library
Shell
Shell Reference
Sounds Reference
Sounds Structures
 SNDFILEINFO
Collapse All/Expand All Collapse All
SNDFILEINFO
Windows Mobile SupportedWindows Embedded CE Not Supported
8/28/2008

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;
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.

Headersoundfile.h
Windows Embedded CEWindows CE 5.0 and later
Windows MobilePocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker