CHAI SDK
Version 1.3
|
An asynchronous return handler is called from the CHAI when an asynchronous function is realized.
It is based on a set of interface classes whose name is suffixed with ***_AsyncReturnHandler.
An application starting an asynchronous function must implement the related asynchronous return handlers and pass its reference during the asynchronous method call.
Example of device enumeration:
m_pAsync value is identifying the asynchronous operation. It remains valid until the end of the related async return handler call.
A call to CPNS::ICHAI::CancelAsync(pAsync) can be performed to abort the asynchronous operation.
Example of device enumeration return handler: