GetEventText

Returns a text for an event.

Syntax

virtual HRESULT TCOMAPI GetEventText (GUID eventClass, UDINT eventId, ITcSourceInfo ipSourceInfo, ITcArguments ipArguments, DINT nLangId, ITcAsyncStringResult pipResult)

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.

ipSourceInfo

ITcSourceInfo

Pointer to the ITcSourceInfo interface.

ipArguments

ITcArguments

Pointer to the ITcArguments interface.

nLangId

DINT

Language ID (LCID) of the requested language.

pipResult

POINTER TO ITcAsyncStringResult

Reference to an ITcAsyncStringResult pointer.

GetEventText 1: Return value

Type

Description

HRESULT

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