APUGetQueryAlarmState() Function
- Last UpdatedMar 03, 2021
- 1 minute read
Returns the alarm state for the query.
Category
View
Syntax
[Result=] APUGetQueryAlarmState(iInstance, iTagState);
Arguments
iInstance
The instance of Alarm Printer (0 to 15).
iTagState
An integer tag that receives the alarm state of the query associated with the specified instance. The value has following meanings:
0 = All
1 = Acknowledged
2 = Unacknowledged
Remarks
The initial alarm state is read from the .alc file. This function returns it in the iTagState parameter of the function which is an integer tag.
Returns an integer error code.
Example
AlmState is an integer tag that contains 0, 1 or 2.
Status = APUGetQueryAlarmState(Inst,AlmState);
See Also
APUGetAlarmGroupText(), APUGetConfigurationFilePath(), APUGetPrinterJobCount(), APUGetQueryFromPriority(), APUGetQueryProcessingState(), APUGetQueryToPriority()