ec_module_resolve_capability
Name
ec_module_resolve_capability — resolve a capability by loading modules
Synopsis
#include "module.h"
| int **ec_module_resolve_capability** (
| capability_string, | |
| | out)
; | |
Description
Note
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.
1 on success, 0 on failure.