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.
MessageBeep( -1 ); // Beep standard computer speaker