Initializing help system before first use

XPRMgetdsoprop

XPRMgetdsoprop


Purpose
Get a property of a dynamic shared object.
Synopsis
int XPRMgetdsoprop(XPRMdsolib dso, int prop, XPRMalltypes *value);
Arguments
dso 
Reference to a module loaded by Mosel
prop 
Property to retrieve. Possible values:
XPRM_PROP_NAME 
Module name
XPRM_PROP_ID 
Internal number of the module
XPRM_PROP_VERSION 
Version number
XPRM_PROP_SYSCOM 
Identity of the provider
XPRM_PROP_NBREF 
Number of loaded models that use the module
XPRM_PROP_PATH 
Path to the actual module file
XPRM_PROP_PRIORITY 
Priority of the module
XPRM_PROP_NBTYPES 
Number of types
value 
Pointer to an area where the model property is returned
Further information
This function returns information about a given module. The type of the property (specified via the prop argument) decides how the argument value is interpreted: the field string is used for NAME, SYSCOM and PATH; and integer for the other properties. The returned version number is coded as an integer, for example, 1.2.3 is coded as 1002003. The module is currently not in use if the property NBREF is 0.