Sounds the speaker. MESSAGEBEEP is the Windows API counterpart.
Note: This is a Windows only function.