AddAlarmListener
Adds an alarm listener.
Syntax
virtual HRESULT TCOMAPI AddAlarmListener (ITcMessageListener ipListener, ITcEventFilterConfig pipFilterConfig)
Parameter
Name | Type | Description |
---|---|---|
ipListener | ITcMessageListener | Pointer to the ITcMessageListener interface. |
pipFilterConfig | ITcEventFilterConfig | Pointer to an ITcEventFilterConfig pointer. |
Return value
Type | Description |
---|---|
HRESULT | Returns S_OK if the method call was successful, otherwise an HRESULT as the error code. |