You are currently viewing the documentation for:
ECF_Init
The ECF_Init function initialises the ECF file system driver. It must be called before any of the other functions can be called.
ECF_ErrorCode ECF_Init(void);
Parameters
None
Return value
Returns one of the ECF error codes (ECFERR_SUCCESS on success) If you haven't defined ECF_OPT_USE_MUTEX and aren't using a multithreaded system, ECF_Init() cannot fail and there is no need to check the return code.
Remarks
There is no need to uninitialise ECF. Just make sure you have unmounted all the drives when you exit.
Example Code
See ECF_Mount