CHAILink SDK
Version 1.3
|
typedef void(* NH_LOCALDEVICE_SNAPSHOT_REQUESTCOLLECTSNAPSHOTDATA)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT16 const wRequestID, SnapshotTypes const snapshotType, CPUINT32 const dwOffset, CPUINT32 const dwSnapshotContextData, CPUINT16 const wMaxBlockSize) |
Called by the CHAI to request snapshot data related to the device.
This handler should call LocalDevice_Reply_InvalidRequest | LocalDevice_Reply_RequestCollectSnapshotData
[in] | hLocalDevice | Handle to the notified local device. |
[in] | deviceType | Type of the notified local device. See ObjectTypes |
[in] | dwDeviceUserData | The user data associated to the device handle during its creation. |
[in] | wRequestID | The request ID, it MUST be used with the response (LocalDevice_Reply_Request*). |
[in] | snapshotType | Requested snapshot information type. See SnapshotTypes enumeration in CLC_Enums.h. |
[in] | dwOffset | Data offset. First call is done with an offset 0. |
[in] | dwSnapshotContextData | Context data related to the collected device. 0 during the 1st call, then value transmitted with the previous reply |
[in] | wMaxBlockSize | Maximum size of the data block |