This function finds the last object whose index has the 'deepest' match (most matching bits) with the key value specified in 'mask'.
MCO_RET classname_indexname_longest_match( /*IN*/ mco_trans_h t, /*IN*/ mco_cursor_h c, /*IN*/ char * mask, /*IN*/ uint2 number_of_bits );
t
mco_trans_start().c
*_index_cursor.mask
number_of_bits
This function finds the last object whose index has the 'deepest' match (most matching bits) with the key value specified in 'mask'.
MCO_S_OK
MCO_S_NOTFOUND
MCO_E_DISK_NOT_OPENED
indexname is in a persistent class and disk access was not initialized by db_open_dev().MCO_E_VOLUNTARY_NOT_EXIST
indexname is voluntary and has not been created, or was dropped.MCO_E_NOMEM
MCO_ERR_CURSOR