Export (0) Print
Expand All

SndGetSound

Windows Mobile 6.5
4/8/2010

This function returns the current sound file for the indicated sound event.


HRESULT SndGetSound (
   SND_EVENT seSoundEvent,
   SNDFILEINFO* pSoundFileInfo
);

seSoundEvent

[in] Indicates the type of sound event you wish to query.

pSoundFileInfo

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

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

Community Additions

ADD
Show:
© 2014 Microsoft