|
C_GetStaticResult |
Note: | C_GetStaticResult has been superseded by C_GetStaticResult2. We recommend that any new code you write uses C_GetStaticResult2. |
Call C_GetStaticResult to extract static results. This function must be called after calling C_CalculateStatics and before resetting the model (by loading a new model or changing the data).
Calling this function is equivalent to calling C_GetTimeHistory with the PeriodNum member of lpPeriod set to pnStaticState.
void C_GetStaticResult(
TOrcFxAPIHandle ObjectHandle,
const TObjectExtra *lpObjectExtra,
int VarID,
double *lpValue,
int *lpStatus
);
See the ObjectHandle parameter of C_GetStaticResult2.
Points to a TObjectExtra variable which specifies where on the object results are required. Can be NULL if no additional information is needed.
See the VarID parameter of C_GetStaticResult2.
See the lpValue parameter of C_GetStaticResult2.
See the lpStatus parameter of C_GetStaticResult2.