By using events, it is possible to notify various states (conversion
end, error occurrence, etc.) that occurred during device operation to
application programs.
Depending on the parameters passed in the event notification, you can get
what kind of event occurred, and you can sort the processing by event.
Generally, there are two ways to notify an event.
However, this is not supported by API-SSI(LNX).
It is the method from the driver and notifying
messages to the application.
It is an usual way for event notification.
A previously created callback function is
registered, and the driver calls the registered function directly when
notifying.
It is necessary to handle pointers and function pointers, but the amount
of code is small and simple.