Manuals
General operations
Block device operations
File system operations
File operations
Directory operations
ECF_PathExists
The ECF_PathExists function checks if a path exists on a mounted filesystem.
ECF_ErrorCode ECF_PathExists(
const char *path,
BOOL *bDirectory
);
const char *path,
BOOL *bDirectory
);
Parameters
path
The path to check.
bDirectory
A pointer to a BOOL which will be set to TRUE if the supplied path is a directory. This parameter is not mandatory and may be NULL.
Return value
Returns one of the ECF error codes (ECFERR_SUCCESS on success).
ECFERR_PATHNOTFOUND will be returned if the path does not exist.
Remarks
None.