Search:

As defined in xcapi.h

xerr xcSetField(xhandle object,
xuint32 slot,
XC_FIELD_ID fieldID,
const void *ibuf,
xuint32 ibufsiz);

Description:

Sets a field to a specified value. The call is used in three situations: (1) to set required field values in a data item before submitting that item to the Exegy appliance for persistent storage or temporary use; (2) to set a user preference for a particular data view prior to making an xcRequestItemByString() request on RT-PriceBookSummary; or (3) to set a user preference for market status callbacks in SessionTicker.

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.
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 ]