# dbname_get_dictionary

> This function returns the database dictionary (for calls to `mco_db_open_dev()`).

### Prototype

>         mco_dictionary_h	dbname_get_dictionary( );

### Arguments

> No Arguments.

### Description

This function returns a handle to the database dictionary. It is used as an argument to functions that expect a `mco_dictionary_h` argument, like `mco_db_open()`.

### Return Codes

MCO_S_OK | The instance was deleted successfully
MCO_E_ACCESS | The transaction handle is `MCO_READ_ONLY`
MCO_E_TRANSACT | A transaction error occurred
MCO_E_DELETED | The object is deleted already
MCO_E_NOMEM | No memory
MCO_ERR_OBJECT_HANDLE | Invalid object handle
MCO_ERR_TRN_LONG |
MCO_ERR_TRN |

Related Topics