SndGetSysBeepState
You can use theSndGetSysBeepStateprocedure to determine if the system alert sound is enabled.
PROCEDURE SndGetSysBeepState (VAR sysBeepState: Integer);
- sysBeepState
- On exit, the state of the system alert sound.
DESCRIPTION
TheSndGetSysBeepStateprocedure returns one of two states in thesysBeepStateparameter, either thesysBeepDisableor thesysBeepEnableconstant.
CONST sysBeepDisable = $0000; {system alert sound disabled} sysBeepEnable = $0001; {system alert sound enabled}SPECIAL CONSIDERATIONS
You can call theSndGetSysBeepStateprocedure at interrupt time.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theSndGetSysBeepStateprocedure are
Trap macro Selector _SoundDispatch $00180008
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help