LegacyRTSVisuStructEvent2 (STRUCT)

TYPE LegacyRTSVisuStructEvent2 EXTENDS VisuStructEvent : STRUCT

In fact this structure is a local copy of VisuStructEvent2 (located in CmpVisuHandler because used in the RTS too). It is used for realizing overlay mode with old runtime systems!

InOut:

Name

Type

Initial

Comment

Inherited from

iStructSize

INT

SIZEOF(THIS^)

TOCHECK: looks like a hack

VisuStructEvent

EventTag

DWORD

VISU_ET_MONITORING

VisuStructEvent

dwParam1

DWORD

0

VisuStructEvent

dwParam2

DWORD

0

VisuStructEvent

clientID

DWORD

16#FFFFFFFF

the extern id, might not be set if the event is triggered within the IEC-Code!

VisuStructEvent

dwAddDataSize

DWORD

0

only the lower 24 bits of this value can be used for the size, becaue the highest byte is reserved the lowest bit of the highest byte (ie. bit 24) will signal whether the additional data has to be freeed after the usage by calling SysMemFreeData.

VisuStructEvent

pAdditionalData

POINTER TO BYTE

can be used for string input etc.

VisuStructEvent

bImportantInput

BOOL

TODO: maybe remove and decide in another way

VisuStructEvent

rOptInvalidRect

VisuStructSimpleRectangle

VisuStructEvent

lwIdStack

LWORD