RegisterCallback (FUN)
FUNCTION RegisterCallback : CAA.HANDLE
With this function a new callback can be activated. The function with index iPOUIndex is called due to event e of class c from source s, if
(eEvent = CB.ALL_EVENTS OR eEvent = e) AND
((eClass = CB.ALL_CLASSES) OR (eClass AND c) > 0) AND
(eSource = CB.ALL_SOURCES OR eSource = s)
- InOut:
Scope
Name
Type
Comment
Return
RegisterCallbackCAA.HANDLEHandle of the new callback; 0 if not successful
Input
cbNewcallback description
peErrorPOINTER TO ERROR
Pointer to an error ID