GetSysBeepVolume
You can use the GetSysBeepVolume function to determine the current volume of the system alert sound.
FUNCTION GetSysBeepVolume (VAR level: LongInt): OSErr;
level
- On exit, the current volume level of the system alert sound.
DESCRIPTION
The GetSysBeepVolume function returns, in the level parameter, the current volume level of the system alert sound. The values returned in the high and low words of the level parameter range from 0 (silence) to $0100 (full volume).
SPECIAL CONSIDERATIONS
The GetSysBeepVolume function is available only in versions 3.0 and later of the Sound Manager. You can call this function at interrupt time.
ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the GetSysBeepVolume function are
| Trap macro | Selector |
| _SoundDispatch | $02240024 |
RESULT CODES