# EssGVersion

Description

EssGVersion() returns the version number for the API.

Syntax

    ESSG_FUNC_M EssGVersion (pulVersion);

ESSG_PULONG_T | pulVersion

Parameters

pulVersion | Pointer to the current version number of the Essbase Grid API.

Return Value

If successful, returns ESSG_STS_NOERR.

Notes

- Returns the version number for the API.
- The number is incremented whenever changes requiring either a recompile or relink by a client occur.
- You do not need to initialize the Essbase Grid API before you use this function.

Access

None.

Example

    #include <essapin.h>
    #include <essgapin.h>

    ESSG_FUNC_M     sts = ESS_STS_NOERR;
    ESSG_ULONG_T    ulVersion;

    /* get version number for the API */
    sts = EssGVersion(&ulVersion);

See Also

Using the Grid API Functions
Grid API Structures