AddField

Syntax

void AddField (LPCTSTR value ); or void AddField (int value );

Parameters

value

The field value for the alarm message.

Remarks

AddField(LPCSTR value) adds a new string parameter to an internal holding area. This parameter is passed as an alarm message parameter with the next call to GenerateAlarm() or GenerateAlarmStamp().

AddField(int value) adds a new integer parameter to an internal holding area. This parameter is passed as an alarm message parameter with the next call to GenerateAlarm() or GenerateAlarmStamp().

This alarm field remains effective for all subsequent GenerateAlarm() or GenerateAlarmStamp() calls until ResetFields is called.

More information

AlarmGen methods.