Initializing help system before first use

getnextmoddso

getnextmoddso


Purpose
Get the next module loaded for the model.
Synopsis
void *getnextmoddso(XPRMcontext ctx, void *ref, XPRMdsolib *dso);
Arguments
ctx 
Mosel's execution context
ref 
Reference pointer or NULL
dso 
Returned reference to a dynamic shared object
Return value
Reference pointer for the next call to XPRMgetnextmoddso.
Further information
When loading a BIM file additional modules may be loaded: this function can be used to enumerate the modules that have been loaded for the running model. The second parameter is used to store the current location in the table of loaded DSOs; if this parameter is NULL, the first module of the table is returned. This function returns NULL if it is called with the reference to the last module loaded for the model. Otherwise, the returned value can be used as the input parameter ref to get the following dependency and so on.