EssOtlCreateAliasTable

Creates an empty alias table in the outline.

Syntax

ESS_FUNC_M EssOtlCreateAliasTable (hOutline, pszAliasTable);
ParameterData TypeDescription

hOutline

ESS_HOUTLINE_T

Outline context handle.

pszAliasTable

ESS_STR_T

Name of alias table to create.

Notes

Return Value

Returns 0 if successful; otherwise one of the following:

OTLAPI_ERR_ALIASTABLEEXISTS
OTLAPI_ERR_MAXALIASTABLES
OTLAPI_ERR_ALIASTABLENAME

Example

#include <essapi.h>
#include <essotl.h>

ESS_STS_T          sts = 0;
ESS_OUTLINEINFO_T  NewInfo;
ESS_HOUTLINE_T     hOutline;

memset(&NewInfo, '\0', sizeof(NewInfo));
sts = EssOtlNewOutline(hCtx, &NewInfo,
      &hOutline);

if (!sts)
{
   sts = EssOtlCreateAliasTable(hOutline, 
   "Alias Table 1");
}

See Also