GoWebScan API
kStatus GoWebScanProcess_SetDataHandler ( GoWebScanProcess  process,
GoDataFx  function,
kPointer  receiver 
)

Sets a callback function that can be used to receive output board data asynchronously.

Sensor data messages can be received synchronously using the GoWebScanProcess_Receive function or asynchronously by registering a callback function. If a callback function is registered, a background thread will be created to perform notifications.

To unregister a previously-registered data handler, call this function using kNULL in place of the callback function argument.

Parameters
processGoWebScanProcess object.
functionData callback function (or kNULL to unregister).
receiverReceiver argument for callback.
Returns
Operation status.