public enum SoundSettings : uint
The pszSound parameter is a system-event alias in the registry or the WIN.INI file. Do not use with either SND_FILENAME or SND_RESOURCE.
The pszSound parameter is a predefined id
The sound is played asynchronously and PlaySound returns immediately after beginning the sound. To terminate an asynchronously played waveform sound, call PlaySound with pszSound set to NULL.
The pszSound parameter is a file name.
The sound plays repeatedly until PlaySound is called again with the pszSound parameter set to NULL. You must also specify the SND_ASYNC flag to indicate an asynchronous sound event.
The pszSound parameter points to a sound loaded in memory. see Playing WAVE Resources
No default sound event is used. If the sound cannot be found, PlaySound returns silently without playing the default sound.
Default: Synchronous playback of a sound event. PlaySound returns after the sound event completes.
The specified sound event will yield to another sound event that is already playing. If a sound cannot be played because the resource needed to generate that sound is busy playing another sound, the function immediately returns FALSE without playing the requested sound. If this flag is not specified, PlaySound attempts to stop the currently playing sound so that the device can be used to play the new sound.
The pszSound parameter is a resource identifier; hmod must identify the instance that contains the resource. see Playing WAVE Resources
If this flag is set, the function triggers a SoundSentry event when the sound is played. SoundSentry is an accessibility feature that causes the computer to display a visual cue when a sound is played. If the user did not enable SoundSentry, the visual cue is not displayed.
If this flag is set, the sound is assigned to the audio session for system notification sounds. The system volume-control program (SndVol) displays a volume slider that controls system notification sounds. Setting this flag puts the sound under the control of that volume slider If this flag is not set, the sound is assigned to the default audio session for the application's process. For more information, see the documentation for the Core Audio APIs.