Typedef VmbChunkAccessCallback

Typedef Documentation

VmbError_t(VMB_CALL * VmbChunkAccessCallback )(VmbHandle_t featureAccessHandle, void *userContext)

Function pointer type to access chunk data.

This function should complete as quickly as possible, since it blocks other updates on the remote device.

This function should not throw exceptions, even if VmbC is used from C++. Any exception thrown will only result in an error code indicating that an exception was thrown.

Param featureAccessHandle:

[in] A special handle that can be used for accessing features; the handle is only valid during the call of the function.

Param userContext:

[in] The value the user passed to VmbChunkDataAccess.

Return:

An error to be returned from VmbChunkDataAccess in the absence of other errors; A custom exit code >= VmbErrorCustom can be returned to indicate a failure via VmbChunkDataAccess return code