IsAlarmRaised
Queries whether an alarm is in the Raised state.
Syntax
virtual HRESULT TCOMAPI IsAlarmRaised (GUID eventClass, UDINT eventId, BOOL32 bIsRaised, ITcSourceInfo ipSourceInfo)
Parameter
Name | Type | Description |
---|---|---|
eventClass | REFERENCE TO GUID | Reference to the GUID of the event class. |
eventId | REFERENCE TO UDINT | Reference to the ID of the event. |
bIsRaised | REFERENCE TO BOOL32 | Reference to the state. |
ipSourceInfo | ITcSourceInfo | Pointer to the ITcSourceInfo interface. |
Return value
Type | Description |
---|---|
HRESULT | Returns S_OK if the method call was successful, otherwise an HRESULT as the error code. |