MessageBeep
The MessageBeep function plays a waveform sound. The waveform sound for each sound type is identified by an entry in the registry.
BOOL MessageBeep(
UINT uType // sound type
);
Parameters
uType
[in] Specifies the sound type, as identified by an entry in the registry. This parameter can be one of the following values. Value Sound
-1 Standard beep using the computer speaker
MB_ICONASTERISK SystemAsterisk
MB_ICONEXCLAMATION SystemExclamation
MB_ICONHAND SystemHand
MB_ICONQUESTION SystemQuestion
MB_OK SystemDefault