classname_oid_get

This function returns the OID of the object referenced by its class handle.

Prototype

 
    MCO_RET	classname_oid_get(	/*IN*/ classname *handle, 
                     /*OUT*/ dbname_oid *oid );
 

Arguments

handle The address of a variable of type class handle

oid

A pointer to a generated typedef dbname_oid, which will receive the OID of the object referenced by the handle

Description

This function will return the OID of the object referenced by handle.

Return Codes

MCO_S_OK The OID was returned successfully
MCO_E_TRANSACT The transaction is in an error state
MCO_ERR_OBJECT_HANDLE

 

MCO_ERR_COMMON