Esa_Interface_Array_Get()
Abstract
Gets the value of a vector interface and stores it to an array of data.
Syntax
Esa_Interface_Array_Get (esa_state_ptr, status_ptr, interface, value, start_offset)
| Argument | Type | Description |
|---|---|---|
esa_state_ptr |
EsaT_State_Handle |
ESA state information generated by Esa_Init() |
status_ptr |
int * |
if the return value is EsaC_Comp_Failure, this is set to either ESAC_STATUS_INTERFACE_INVALID or ESAC_STATUS_DIRECTION_INVALID |
interface |
EsaT_Interface |
interface to read |
value |
void * |
start of buffer for array of values (type based on the interface) |
start_offset |
int |
starting offset in the array |
Return Type
EsaT_Compcode
EsaC_Comp_Success if the data could be obtained; EsaC_Comp_Failure otherwise (with *status_ptr set to an appropriate status value).
Header
esa.h