mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
[3.12] gh-131327: Document winsound.SND_APPLICATION (GH-131328) (#131329)
gh-131327: Document winsound.SND_APPLICATION (GH-131328)
(cherry picked from commit bf4c1bf344
)
Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
This commit is contained in:
parent
1d17f1a979
commit
c5a23ab9a6
2 changed files with 8 additions and 0 deletions
|
@ -135,6 +135,13 @@ provided by Windows platforms. It includes functions and several constants.
|
|||
This flag is not supported on modern Windows platforms.
|
||||
|
||||
|
||||
.. data:: SND_APPLICATION
|
||||
|
||||
The *sound* parameter is an application-specific alias in the registry.
|
||||
This flag can be combined with the :const:`SND_ALIAS` flag
|
||||
to specify an application-defined sound alias.
|
||||
|
||||
|
||||
.. data:: MB_ICONASTERISK
|
||||
|
||||
Play the ``SystemDefault`` sound.
|
||||
|
|
|
@ -50,6 +50,7 @@ PyDoc_STRVAR(sound_module_doc,
|
|||
"SND_NODEFAULT - Do not play a default beep if the sound can not be found\n"
|
||||
"SND_NOSTOP - Do not interrupt any sounds currently playing\n" // Raising RuntimeError if needed
|
||||
"SND_NOWAIT - Return immediately if the sound driver is busy\n" // Without any errors
|
||||
"SND_APPLICATION - sound is an application-specific alias in the registry."
|
||||
"\n"
|
||||
"Beep(frequency, duration) - Make a beep through the PC speaker.\n"
|
||||
"MessageBeep(type) - Call Windows MessageBeep.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue