Frees memory dynamically allocated under shared-partition context structures.
Syntax
ESS_FUNC_M EssPartitionFreeDefCtx (hCtx, pDdbCtx);
Parameter | Data Type | Description |
---|---|---|
hCtx | ESS_HCTX_T | Api context. |
pDdbCtx | ESS_PART_T | Pointer to shared-partition context. |
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 EssPartitionReadDefFile() or EssPartitionWriteDefFile() to read or write a definition file. Close with EssPartitionCloseDefFile(). Then free the memory with EssPartitionFreeDefCtx().
Return Value
Returns zero if successful, error code if unsuccessful.
Example
For an example, see EssPartitionNewDefFile.
See Also