|
C_EnumerateVars |
Note: | C_EnumerateVars has been superseded by C_EnumerateVars2. We recommend that any new code you write uses C_EnumerateVars2. |
C_EnumerateVars is called to obtain a list of all available results variables.
You specify the object and the type of result (time history, range graph or linked statistics). Then the callback function EnumerateVarsProc is called once for each available results variable and passed details of that results variable. If you just wish to find out how many available results variables there are then pass NULL for the EnumerateVarsProc parameter.
void C_EnumerateVars(
TOrcFxAPIHandle ObjectHandle,
const TObjectExtra *lpObjectExtra,
int ResultType,
TEnumerateVarsProc EnumerateVarsProc,
int *lpNumberOfVars,
int *lpStatus
);
See the ObjectHandle parameter of C_EnumerateVars2.
Points to a TObjectExtra variable which specifies where on the object results are required.
Only needed if both the following conditions hold:
Otherwise pass NULL.
See the ResultType parameter of C_EnumerateVars2.
See the EnumerateVarsProc parameter of C_EnumerateVars2.
See the lpNumberOfVars parameter of C_EnumerateVars2.
See the lpStatus parameter of C_EnumerateVars2.
The Unicode function name is C_EnumerateVarsW and the ANSI function name is C_EnumerateVarsA.
TObjectExtra, TVarInfo, C_EnumerateVars2, EnumerateVarsProc.