CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* NH_CHAI_DEVICEDISCARDED)(CPDEVICEID const *const pDevID, DeviceDiscardedReasons const reason)

Called on device unplug, or if a device becomes unreachable.

Parameters
[in]pDevIDPointer to the device ID
[in]reasonReason of discarding the device (see DeviceDiscardedReasons enumeration in CLC_Enums.h)
Remarks
This call is performed only for root devices (having null ModuleID) This notification is activated by using CHAI_RegisterNotificationHandler.