Plays a waveform sound that corresponds to a given system alert level. A user can set the sound for each alert level with the sounds application in the Control Panel.

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public static SalBoolean MessageBeep(
	SalNumber nAlertLevel
)

Parameters

nAlertLevel
Type: PPJ.Runtime..::..SalNumber
The alert level: Use 0 or -1 for the standard beep using the computer speaker, or any of the MB_* constants.

Return Value

bOk

See Also