CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* NH_LOCALDEVICE_SIGNAL)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT16 const wSignalNumber, CPUINT16 const wOptionalData0, CPUINT16 const wOptionalData1, CPUINT16 const wOptionalData2, CPUINT16 const wOptionalData3, CPCHAR8 const *const utf8OptionalData, CPENDPOINT const *const pOptionalEndPoint, CPDEVICEID const *const pSourceDevID)

Called if the local device received a signal.

Parameters
[in]hLocalDeviceHandle to the notified local device.
[in]deviceTypeType of the notified local device. See ObjectTypes
[in]dwDeviceUserDataThe user data associated to the device handle during its creation.
[in]wSignalNumberThe signal's number (see Signals enumeration in CLC_Enums.h for standard values)
[in]wOptionalData0Optional value, depending on the signal number
[in]wOptionalData1Optional value, depending on the signal number
[in]wOptionalData2Optional value, depending on the signal number
[in]wOptionalData3Optional value, depending on the signal number
[in]strOptionalDataOptional string, depending on the signal number
[in]pOptionalEndPointPointer to an optional endpoint, depending on the signal number
[in]pSourceDevIDSource of the signal
Remarks
This notification is activated by using LocalDevice_RegisterSignalNotificationHandler.