CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* ARH_REMOTEDEVICE_COLLECTSNAPSHOTDATA)(AsyncResult const result, SnapshotBlockPriorities const priority, SnapshotTypes const snapshotType, CPUINT32 const dwOffset, CPUINT32 const dwSnapshotContextData, CPUINT16 const wBlockSize, CPBOOLEAN const fIsLastBlock, CPBYTE const *const pBuffer, CPUINT32 const dwClientContextData)

End of asynchronous for RemoteDevice_CollectSnapshotData_Async function call.

Parameters
[in]resultCan be AR_Succeeded, AR_Done or AR_Canceled
[in]priorityPriority of this block of data. Will be used to sort blocks before snapshot recall. Must remains constant for a particular type (see SnapshotBlockPriorities enumeration in CLC_Enums.h for standard values)
[in]snapshotTypeBlock type, should be identical to the requested type (see SnapshotTypes enumeration in CLC_Enums.h)
[in]dwOffsetBlock offset, should be identical to the requested offset.
[in]dwSnapshotContextDataContext data to be used for next call to RemoteDevice_CollectSnapshotData_Async.
[in]wBlockSizeBlock size, might be different that the requested size depending on the transport requirements between the collecting device and the collected one.
[in]fLastBlockTRUE if this block is the last one.
[in]pBufferPointer to the data buffer. CAUTION: this buffer will become invalid after returning from this handler.
[in]dwClientContextDataContext data passed to the CHAI during previous RemoteDevice_CollectSnapshotData_Async function call.