Terminates the API and releases all system resources used by the API. This function should normally be called after all other API calls have been completed, immediately prior to terminating your program.
Syntax
ESS_FUNC_M EssTerm (hInstance);
Parameter | Data Type | Description |
---|---|---|
hInstance | ESS_HINST_T | API instance handle. |
Notes
Because this function terminates use of the Essbase API, any API functions (other than EssInit()) called after this function has been executed will return an error.
Return Value
None.
Access
This function requires no special access.
Example
/* Terminate the Essbase API */ if ((sts = EssTerm (hInstance)) != ESS_STS_NOERR) { /* error terminating API */ exit ((ESS_USHORT_T) sts); }
See Also