EventUnregisterCallbackFunction2 (FUN)

FUNCTION EventUnregisterCallbackFunction2 : RTS_IEC_RESULT

Unregister a callback function with a specific user parameter from an event specified by handle and callback and parameter

InOut:

Scope

Name

Type

Comment

Return

EventUnregisterCallbackFunction2

RTS_IEC_RESULT

Input

hEvent

RTS_IEC_HANDLE

Handle to event

pfCallbackFunction

POINTER TO BYTE

Address of callback function. Function pointer is retrieved by the ADR operator: ADR(function)

pUserParameter

POINTER TO BYTE

Pointer to user parameter, that was specified as a parameter at EventRegisterCallback2()