Closes the shared partition definition file.
Syntax
ESS_FUNC_M EssPartitionCloseDefFile (hCtx, iFileHandle);
Parameter | Data Type | Description |
---|---|---|
hCtx | ESS_HCTX_T | Net context. |
iFileHandle | ESS_INT_T | File handle to close. |
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