C layer of the file system helpers: create directories, list and delete the files of a tree, file name of a path.
The semantics are the ones of the 'IO' namespace in 'ethereal/cpp/file/io.hpp' (CreatePath, GetAllFilesAtPath, DeleteAllFilesAtPath, GetFileNameFromPath and the versions with an extension filter). Reading and writing a file is in 'ethereal/c/fileio/fileio.h'.
Paths are UTF-8, and malformed UTF-8 is refused. The listing and the deletion convert them to the wide form of the system (UTF-16 on Windows, UTF-32 elsewhere) and back, so any name works. ETLC_FileSystemCreateDirectories and ETLC_FileSystemFileName pass the bytes to the C++ side as they are: on Windows it reads them in the ANSI code page, so only ASCII paths are safe there.
Not here, because the C++ side does not have them: existence test, rename, removal of one file or directory, size by path, temporary directory. The UAC check, the signature check and the module name are in 'ethereal/c/platform/platform.h' (ETLC_PlatformQueryToken, ETLC_PlatformQuerySignature, ETLC_PlatformEnumModules).
Text output always ends in '\0'. The size written does not count it. When the buffer is too small, the call writes the capacity needed (text plus '\0'), so 'uCap = 0' asks for it.
Every export returns 'int'. Zero is success, negative is an error. The values are part of the ABI.