Skip to main content


Last updated March 2020


ec_module_resolve_capability — resolve a capability by loading modules


#include "module.h"

| int **ec_module_resolve_capability** ( | capability_string, |   | |   | out); |   |

const char * <var class="pdparam">capability_string</var>; string * <var class="pdparam">out</var>;



This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

resolve a capability by loading modules

If a module that provides the capability is already loaded, then the function call succeeds.

Otherwise, the first module whose manifest lists the capability string will be loaded along with its dependancies. If a module load fails, loading other modules that provide the capability will be attempted. The function call succeeds if a module providing the capability was loaded.

Return Values

1 on success, 0 on failure.

Was this page helpful?