Realization of asynchronous callback from dll