# mco_uda_async_event_release_all
RT

> Release all event handlers.

### Prototype

        MCO_RET mco_uda_async_event_release_all(	/*IN*/ mco_db_h db );

### Arguments

db | The database handle

### Description

> This function releases all event handlers for the specified database.

### Return Codes

MCO_S_OK | The event handler was released successfully
MCO_E_INVALID_HANDLE | The database handle is invalid
MCO_S_EVENT_RELEASED | The events were released by the application

### Example

        Application snippet:

        int main(int argc, char* argv[])
        {
            MCO_RET rc;
            mco_db_h db;
            unsigned short struct_no = 1;
            unsigned short event_no = 1;
            ...
            mco_uda_async_event_release_all(db);

            ...
        }

### Files

Header file:
mcouda.h
Source file:
mcouda.c
Library:
libmcouda.a