SysInstallHandlerΒΆ

This function of type BOOL sets the interrupt with a given number on the function which is identified by its address. This address can be retrieved by the SysIECGetFctPointer function (see Library SysLibIECTasks.lib).

The return value is TRUE or FALSE depending on the success of the operation.

The interrupt handler can be removed by the SysRemoveIntHandler function.

Input Variable Data Type Description
iInterrupt INT Interrupt number
dwFctAddress DWORD Function pointer, retrieved with the aid of SysIECGetFctPointer (SysLibIECTasks.lib)