The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This function returns the current sound file for the indicated sound event.
HRESULT SndGetSound (
[in] Indicates the type of sound event you wish to query.
[out] Caller should pass in a pointer to a
SNDFILEINFO structure that will be filled in by this function.
The function may return any HRESULT and the application should use the SUCCEEDED and FAILED macros to check the results.
This function returns the current sound file for the specified sound event. The fully qualified file path along with the friendly file name of the sound event file are returned in
pSoundFileInfo. This function needs a pointer to a valid SNDFILEINFO structure.
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