CHAILink SDK
Version 1.3
|
typedef void(* NH_LOCALDEVICE_SNAPSHOT_REQUESTRESTORESNAPSHOTDATA)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT16 const wRequestID, SnapshotTypes const snapshotType, CPUINT32 const dwOffset, CPUINT32 const dwSnapshotContextData, CPUINT16 const wBlockSize, CPBOOLEAN const fIsLastBlock, CPBYTE const *const pBlockData) |
Called by the CHAI to restore snapshot data related to the device.
This handler should call LocalDevice_Reply_InvalidRequest | LocalDevice_Reply_RequestRestoreSnapshotData
[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_*). |
[in] | snapshotType | Snapshot data information type. See SnapshotTypes enumeration in CLC_Enums.h. |
[in] | dwOffset | Data block 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] | wBlockSize | Data block size |
[in] | fLastBlock | TRUE if this is the last block |
[in] | pBlockData | Pointer to the data block |