This function retrieves a value from a field into a variable.
MCO_RET classname_fieldname_get( /*IN*/ classname *handle, /*OUT*/ <type> *value);
handle | A pointer to a classname handle |
value |
A pointer to a variable of type type, into which will be read the value of fieldname from the object referenced by handle |
This form of the function applies to elements with a fixed size (not char, string or BLOB). The C data type of the value parameter is the data type of fieldname as defined in the database schema, and the prototype output by the schema processor to the generated API header.
MCO_S_OK | The values were read successfully |
MCO_E_TRANSACT | |
MCO_ERR_OBJECT_HANDLE |
|