structname_fieldname_get(blob)

This form of the function applies to elements that are of type blob. Handle is returned from classname_structname_read_handle().

Prototype

 
    MCO_RET	structname_fieldname_get(	/*IN*/ structname *handle, 
                         /*IN*/ uint4 start_offset, 
                         /*OUT*/ char *dest, 
                         /*IN*/ uint4 dest_size, 
                         /*OUT*/ uint4 *len );
 

Arguments

handle A pointer to a structname handle

start_offset

The offset from the start of the blob from where reading will begin

dest

A pointer to a buffer to receive the element’s contents

dest_size

The size of the dest buffer

len

A uint4 pointer to receive the number of bytes written to dest

Description

This form of the function applies to elements that are of type blob. Handle is returned from classname_structname_read_handle().

Return Codes

See classname_fieldname_get()

Related Topics Link IconRelated Topics