Search:

As defined in xcapi.h

xerr xcSetFieldArray(xhandle object,
xuint32 slot,
XC_FIELD_ID fieldID,
const void *ibuf,
xuint32 elmsiz,
xuint32 *elmcnt);

Description:

Sets the value of one or more elements in an array field. When multiple elements are set, they must be contiguous. Note that indexing notation may be appended to the field ID if the initial element to be set is other than the zeroeth (see the fieldID parameter description).

Restrictions:

Parameters:

Returns:

An xerr type indicating the status of the operation.

Common error codes:

XSUCCESS The operation completed successfully.
XINVAL An invalid parameter was supplied.
XMOREDATA Successful completion, but more input elements were supplied than were present in the container (or than could be added).
XBADSLOT Invalid slot number.
XBADFIELD Invalid field.
XNOTCONNECTED Session not connected.
XBADSIZE Input buffer smaller than size of field to be modified.
XBADHANDLE Invalid handle.
XREADONLY Invalid call for read-only field or container.



[ Top Of Page ]