PostEvent (FUN)

FUNCTION PostEvent : ERROR

This function serves to trigger an event in order to call one ot multiple callbacks. The function returns immediately. The callbacks will be executed in the background. For this reason the function is suitable for triggering events e.g. in interrupt service routines.

InOut:

Scope

Name

Type

Comment

Return

PostEvent

ERROR

An error code.

Input

eEvent

EVENT

event number

eSource

EVENT_SOURCE

event source

dwParam

__XWORD

parameter for called function