## EssPartitionFreeDefCtx

Description

Frees memory dynamically allocated under shared-partition context structures.

Syntax

ESS_FUNC_M EssPartitionFreeDefCtx (hCtx, pDdbCtx);

ESS_HCTX_T | hCtx;
ESS_PPART_T | pDdbCtx;

Parameters

hCtx | Api context.
pDdbCtx | Pointer to shared-partition context.

Return Value

Returns zero if successful, error code if unsuccessful.

Notes

- Use this function as part of a sequence of definition operations. Use EssPartitionOpenDefFile() to open existing definition files. Use EssPartitionNewDefFile() to create and open a new definition file. Use Read or Write to read or write a difinition file. Close with EssPartitionCloseDefFile(). Then free the memory with EssPartitionFreeDefCtx().

Example

For an example, see EssPartitionNewDefFile().

See Also

Constant and Structure Definitions for Partitions
EssPartitionApplyOtlChangeFile()
EssPartitionApplyOtlChangeRecs()
EssPartitionFreeDefCtx()
EssPartitionFreeOtlChanges()
EssPartitionGetAreaCellCount()
EssPartitionGetList()
EssPartitionGetOtlChanges()
EssPartitionGetReplCells()
EssPartitionNewDefFile()
EssPartitionOpenDefFile()
EssPartitionPurgeOtlChangeFile()
EssPartitionPutReplCells()
EssPartitionReadDefFile()
EssPartitionReadOtlChangeFile()
EssPartitionReplaceDefFile()
EssPartitionResetOtlChangeTime()
EssPartitionValidateDefinition()
EssPartitionValidateLocal()
EssPartitionWriteDefFile()