CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* NH_CONTROLLER_CONNECTIONSTATUS)(CPHOBJECT const hController, CPUINT32 const dwControllerUserData, CPBOOLEAN const fConnected)

This is called on destination change. This can be used to know when a controller is connected to the input hosting the target parameter.

Parameters
[in]hControllerHandle of the controller
[in]dwControllerUserDataThe user data associated to the controller handle during its creation.
[in]fConnectedTRUE if the controller is currently connected to the target endpoint