classname_fieldname_append(blob)

This function appends the supplied value to the end of the blob element.

Prototype

    MCO_RET classname_fieldname_append(
            /*IN*/ classname *handle,
            /*IN*/ const void *value,
            /*IN*/ uint4 len );

Arguments

handle
A pointer to a classname handle.
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 applies to blob elements. The supplied value is appended to the end of the blob element.

Return Codes

MCO_S_OK
The value was put successfully.
MCO_E_ACCESS
The transaction that the class handle is scoped to is MCO_READ_ONLY.
MCO_E_TRANSACT
MCO_E_DELETED
MCO_E_NOMEM
MCO_E_UNSUPPORTED
Blobs can only be appended to in the same transaction in which they are created.
MCO_ERR_OBJECT_HANDLE
MCO_ERR_TRN_LONG
MCO_ERR_TRN
Related Topics Link IconRelated Topics