CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* NH_CONTROLLER_ASSIGN)(CPHOBJECT const hController, CPUINT32 const dwControllerUserData, ControllerAssignReasons const reason, CPCONTROLLERASSIGNMENT const *const pAssignment)

This notification is called to assign a controller to a specific message. Current controller assignment data is maintained internally in the CHAI by the Controller object. It can be collected and restored by the SnapShot procedure.

Parameters
[in]hControllerHandle of the controller
[in]dwControllerUserDataThe user data associated to the controller handle during its creation.
[in]reasontells more about this notification call.
[in]pAssignmentPointer to the new assignment
Remarks
This notification is activated by using Controller_RegisterNotificationHandler.