mco_uda_async_event_release

Release the specified event handler.

Prototype

    MCO_RET mco_uda_async_event_release(  /*IN*/ mco_db_h db,
                             /*IN*/ unsigned short struct_no,
                             /*IN*/ unsigned short event_no );

Arguments

db
The database handle.
struct_no
The structure/class number (must be between 0 and mco_dict_struct_count() - 1).
event_no
The event number.

Description

This function releases the specified event handler.

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 event was 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(db, struct_no, event_no);
        ...
    }

Files

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