EssGInit

Initializes the Grid API.

Syntax

ESSG_FUNC_M EssGInit (pInitStruct, pHandle);
ParameterData TypeDescription

pInitStruct

ESSG_INIT_T

Pointer to a structure containing useful information for the EGAPI.

pHandle

ESSG_PHANDLE_T

Pointer to the handle sent back from the EGAPI.

Notes

Return Value

If successful, returns ESSG_STS_NOERR.

Access

None.

Example

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

ESSG_FUNC_M     sts = ESS_STS_NOERR;
ESSG_INIT_T     InitStruct;
ESSG_HANDLE_T   Handle;

InitStruct.ulVersion = ESSG_VERSION;
InitStruct.ulMaxRows = 1000;
InitStruct.ulMaxColumns = 200;
InitStruct.pfnMessageFunc = ESS_NULL;
InitStruct.pUserdata = ESS_NULL;

sts = EssGInit(&InitStruct, &Handle);

See Also