mco_fh_mod_api_version

Return the version of ModAPI implemented by this module.

Prototype

 
    mco_uint4 mco_fh_mod_api_version()
 

Arguments

void No arguments

Description

This function returns the version of ModAPI implemented by this module. Modules should return the value of the MCO_FH_MODAPI_VERSION macro defined in the fhmodapi.h header.

Return Codes

mco_uint4 The version number

Example

 
    mco_uint4 mco_fh_mod_api_version()
    {
        // Return the implemented Module API version.
        return MCO_FH_MODAPI_VERSION;
    }