CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_ErrorCode LocalDevice_Reply_RequestRestoreSnapshotData ( CPHOBJECT const  hLocalDevice,
CPUINT16 const  wRequestID,
Errors const  returnCode,
CPUINT32 const  dwSnapshotContextData 
)

Reply to a snapshot data restore request.

Call this to terminate a NH_LOCALDEVICE_SNAPSHOT_REQUESTRESTORESNAPSHOTDATA notification.

Parameters
[in]hLocalDeviceHandle to the local device.
[in]wRequestIDthe Request ID provided by the Request Notification Handler
[in]returnCodereturn code to be transmitted to the remote device
[in]dwSnapshotContextDataContext data related to the collected device, to be send back during next block collect. Can be used by the application as a session handling data sent back by during the request for next block.
Returns
Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
Warning
This function can only be called in CopperLan context. This means in the pseudo task CPDoProcess(), in notification handlers or in asynchronous return handlers and not in SystemDoProcess() for instance.