CHAI SDK  Version 1.3
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
CPNS::ICHAI_RemoteDevice_Find_AsyncReturnHandler Class Referenceabstract

Notification handler for CHAI's device enumeration. More...

Public Member Functions

virtual void OnCHAI_RemoteDevice_Find_Return (CPNS::IAsync *const pAsync, CPNS::Enums::AsyncResult const result, CPNS::IRemoteDevice *const pRemoteDevice, CPNS::IDeviceEnumerationContext *const pEnumerationContext)=0
 Used by the CHAI during device enumeration. More...
 

Detailed Description

Member Function Documentation

virtual void CPNS::ICHAI_RemoteDevice_Find_AsyncReturnHandler::OnCHAI_RemoteDevice_Find_Return ( CPNS::IAsync *const  pAsync,
CPNS::Enums::AsyncResult const  result,
CPNS::IRemoteDevice *const  pRemoteDevice,
CPNS::IDeviceEnumerationContext *const  pEnumerationContext 
)
pure virtual

Used by the CHAI during device enumeration.

Parameters
[in]pAsyncPointer to the async operation handler. Can be used to match the return notification with the related async operation. This pointer will become invalid just after exiting this method.
[in]resultcan be CPNS::Enums::AR_Succeeded, CPNS::Enums::AR_Done or CPNS::Enums::AR_Canceled
[in]pRemoteDevicePointer to the found remote device. This object has been acquired just before calling this method and will be released just after exit.
[in]pEnumerationContextOpaque context, must be given to following remote device find operations to continue search.