AlarmHornEnabled Example
In Example 1, blnReturn contains the status of the system's AlarmHornEnabled property
Example 1
Dim blnReturn As Boolean
blnReturn = AlarmHornEnabled
In Example 2, True passed to enable the alarm horn, then checks to see if it was set.
Example 2
Dim blnReturn As Boolean
blnReturn = AlarmHornEnabled(True)
If Not blnReturn Then
MsgBox ("Horn could not be enabled")
End If