This function returns a handle to the object referenced by its OID.
MCO_RET classname_oid_find( /*IN*/ mco_trans_h trans,
/*IN*/ const dbname_oid * oid,
/*OUT*/ classname * handle );
trans
mco_trans_start().oid
dbname_oid, which contains the OID of the object to be located.handle
This function will return a handle to the object referenced by OID. Handles and class codes are found in the header file following the comment:
/* Handles and Class Codes */
MCO_S_OK
MCO_S_NOTFOUND
MCO_ERR_COMMON