OpenEuphoria: Euphoria v4.1

# OpenEuphoria Manual

## Euphoria v4.1

routine or constant name search

| Up |  |  | TOC | Index
<< 7 Included Tools | < 8.56 Windows Message Box | Up: 8 API Reference | 8.58 Unsupported Features > | 9 Release Notes >>

## 8.57 Windows Sound

#### 8.57.0.1 SND_DEFAULT

    include std/win32/sounds.e
    namespace sound
    public constant SND_DEFAULT

#### 8.57.0.2 SND_STOP

    include std/win32/sounds.e
    namespace sound
    public constant SND_STOP

#### 8.57.0.3 SND_QUESTION

    include std/win32/sounds.e
    namespace sound
    public constant SND_QUESTION

#### 8.57.0.4 SND_EXCLAMATION

    include std/win32/sounds.e
    namespace sound
    public constant SND_EXCLAMATION

#### 8.57.0.5 SND_ASTERISK

    include std/win32/sounds.e
    namespace sound
    public constant SND_ASTERISK

#### 8.57.0.6 sound

    include std/win32/sounds.e
    namespace sound
    public procedure sound(atom sound_type = SND_DEFAULT)

Makes a sound.

##### Parameters:

1. sound_type: An atom. The type of sound to make. The default is SND_DEFAULT.

##### Comments:

The `sound_type` value can be one of ...

- `SND_ASTERISK`
- `SND_EXCLAMATION`
- `SND_STOP`
- `SND_QUESTION`
- `SND_DEFAULT`

These are sounds associated with the same Windows events via the Control Panel.

##### Example:

    sound( SND_EXCLAMATION )

| Up |  |  | TOC | Index
<< 7 Included Tools | < 8.56 Windows Message Box | Up: 8 API Reference | 8.58 Unsupported Features > | 9 Release Notes >>