CHAILink SDK
Version 1.3
|
typedef void(* NH_CHAI_DEVICEDECLARATION)(DeviceDeclarationNotificationTypes const declarationType, CPREMOTEDEVICEINFO const *const pRemoteDeviceInfo, CPCHAR8 const *const utf8DeviceName, CPHOOKEDOBJECT const hRemoteDevice) |
Called on device declaration. Can occur if a new root device is connected to the network, if a device needs to reflect changes (capabilities, name...)
[in] | declarationType | Type of declaration (see DeviceDeclarationNotificationTypes enumeration in CLC_Enums.h) |
[in] | pRemoteDeviceInfo | Pointer to a CPREMOTEDEVICEINFO structure (see the structure details in CLCm_Defines.h) |
[in] | strDeviceName | Device name |
[in] | hRemoteDevice | Handle to the Remote Device. This handle is only valid during notification. If application needs to keep this handle it must acquire it with HookedObject_Acquire and release it with HookedObject_Release when it is no longer used. |