@@ -56,7 +56,10 @@ PyDoc_STRVAR(sound_module_doc,
5656"SND_NODEFAULT - Do not play a default beep if the sound can not be found\n"
5757"SND_NOSTOP - Do not interrupt any sounds currently playing\n" // Raising RuntimeError if needed
5858"SND_NOWAIT - Return immediately if the sound driver is busy\n" // Without any errors
59- "SND_APPLICATION - sound is an application-specific alias in the registry."
59+ "SND_APPLICATION - sound is an application-specific alias in the registry.\n"
60+ "SND_SENTRY - Triggers a SoundSentry event when the sound is played.\n"
61+ "SND_SYNC - Play the sound synchronously, default behavior.\n"
62+ "SND_SYSTEM - Assign sound to the audio session for system notification sounds.\n"
6063"\n"
6164"Beep(frequency, duration) - Make a beep through the PC speaker.\n"
6265"MessageBeep(type) - Call Windows MessageBeep." );
@@ -232,12 +235,19 @@ exec_module(PyObject *module)
232235 ADD_DEFINE (SND_PURGE );
233236 ADD_DEFINE (SND_LOOP );
234237 ADD_DEFINE (SND_APPLICATION );
238+ ADD_DEFINE (SND_SENTRY );
239+ ADD_DEFINE (SND_SYNC );
240+ ADD_DEFINE (SND_SYSTEM );
235241
236242 ADD_DEFINE (MB_OK );
237243 ADD_DEFINE (MB_ICONASTERISK );
238244 ADD_DEFINE (MB_ICONEXCLAMATION );
239245 ADD_DEFINE (MB_ICONHAND );
240246 ADD_DEFINE (MB_ICONQUESTION );
247+ ADD_DEFINE (MB_ICONERROR );
248+ ADD_DEFINE (MB_ICONINFORMATION );
249+ ADD_DEFINE (MB_ICONSTOP );
250+ ADD_DEFINE (MB_ICONWARNING );
241251
242252#undef ADD_DEFINE
243253
0 commit comments