SendMessage
This method sends a message.
Syntax
METHOD SendMessage : HRESULT
VAR_INPUT
eventClass : GUID;
nEventId : UDINT;
eSeverity : TcEventSeverity;
ipSourceInfo : I_TcSourceInfo := 0;
nTimeStamp : ULINT := 0;
ipArguments : I_TcArguments := 0;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
eventClass | GUID | GUID of the event class. |
nEventId | UDINT | ID of the event. |
eSeverity | Severity of the event. | |
ipSourceInfo | Pointer to an ITcSourceInfo interface. | |
nTimeStamp | ULINT | 0: Current time stamp is used. > 0: External time stamp in 100 nanoseconds since January 1st, 1601 (UTC). |
ipArguments | Pointer to the ITcArguments interface. |
Return value
Name | Type | Description |
---|---|---|
SendMessage | HRESULT | Returns S_OK if the method call was successful, otherwise an HRESULT as the error code. |