structname_fieldname_put(vector)(string)

This function writes an application-supplied value to an element of a vector within a structure element of a class. Handle returned from classname_structname_write_handle().

Prototype

    MCO_RET structname_fieldname_put( /*IN*/ structname *handle,
                           /*IN*/ uint2 index,
                           /*IN*/ const char *value,
                           /*IN*/ uint2 len );

Arguments

handle
A pointer to a structname handle.
index
The offset from the start of the vector of the vector element to be written to.
value
A pointer to the value to be put to the object.
len
This argument specifies the number of bytes to be copied from value to the object referenced by handle.

Description

This function writes an application-supplied value to an element of a vector within a structure element of a class. Handle returned from classname_structname_write_handle().

Return Codes

See classname_fieldname_put (vector)(string).

Related Topics Link IconRelated Topics