C_ModuleEnabled

Call C_ModuleEnabled to determine whether optional OrcaFlex calculation modules are available. For more details see C_DisableModule.

BOOL C_ModuleEnabled(

TOrcFxAPIHandle ModelHandle,

int Module,

int *lpStatus

);

Parameters

ModelHandle (IN)

The handle of the model.

Module (IN)

Identifies the calculation module. This can be one of the module constants defined in OrcFxAPI.h. For example, to check the availability of the dynamics module pass moduleDynamics for this parameter.

lpStatus (OUT)

Points to a variable in which the status result for the function call will be returned.

Return Value

TRUE if the module is enabled, otherwise FALSE.

See also

C_DisableModule.