win32api.MessageBeep

int = MessageBeep(type)

Plays a predefined waveform sound.

Parameters

type=win32con.MB_OK : int

Specifies the sound type, as identified by an entry in the [sounds] section of the registry. This parameter can be one of MB_ICONASTERISK, MB_ICONEXCLAMATION, MB_ICONHAND, MB_ICONQUESTION or MB_OK.

Comments

The waveform sound for each sound type is identified by an entry in the [sounds] section of the registry.