BackupRestore.BACnetEventCallback (METH)

METHOD BACnetEventCallback : BOOL

Hook callback for IEC_BACNET_CB_TYPE.CB_REINIT_DEV

InOut:

Scope

Name

Type

Comment

Return

BACnetEventCallback

BOOL

Input

EventId

DWORD

If only one event is possibly called, the following Ids can be ignored. If there are more at least the EventId should be checked, to get the right type of pParameter.

ID of the occured Event. Contains the class and the event (see CmpBACnet.EVENTIDS)

usParamId

WORD

Id of the parameter structure (see pParameter and CmpBACnet.EVENTIDS)

usVersion

WORD

Version of the parameter structure (see pParameter and CmpBACnet.EVENTIDS)

pParameter

POINTER TO BYTE

Pointer to the event specific parameter, that is specified by Id (see CmpBACnet.EVENTIDS and CmpBACnet, i.e. EVT_BACNET_ACKALARM)