All events (either commands, input/output, etc.) are recieved by the client in this 'callback' functions, provided by the client to the library.
PRL_RESULT( PRL_CALL * PRL_EVENT_HANDLER_PTR );