SendMessageEx

SendMessageEx 1:

This method sends a message.

Syntax

METHOD SendMessageEx : HRESULT
VAR_INPUT
    stEventEntry : TcEventEntry;
    ipSourceInfo : I_TcSourceInfo := 0;
    nTimeStamp   : ULINT := 0;
    ipArguments  : I_TcArguments := 0;
END_VAR

SendMessageEx 2: Inputs

Name

Type

Description

stEventEntry

TcEventEntry

Event definition.

ipSourceInfo

I_TcSourceInfo

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

I_TcArguments

Pointer to the ITcArguments interface.

SendMessageEx 3: Return value

Name

Type

Description

SendMessageEx

HRESULT

Returns S_OK if the method call was successful, otherwise an HRESULT as the error code.