[UnmanagedFunctionPointer(CallingConvention.StdCall)] this should be removed with EventHandler from .NET
C# Copy public delegate void DaliEventHandler<T, U>(T source, U e)
public delegate void DaliEventHandler<T, U>(T source, U e)