MessageBeep plays a waveform sound. The waveform sound for each sound type is identified by an entry in the registry which can be accessed from the Sounds or Multi-Media applet in the Window's Control Panel.
BOOL MessageBeep( UINT uType )
Returns TRUE on successful exit and FALSE on error.
EX1
int MessageBeep_ex1() { MessageBeep( -1 ); // Beep standard computer speaker return 1; }
MessageBox
origin.h