L3DT documentation
Large 3D terrain generator



Trim the directory path from a given file name.


Declaration zFile.h
Implementation zFile.cpp

Function prototype

bool zfile_TrimDir(const char* lpFileName, ZSTR hResult);


Name Type Comment
lpFileName const char* A pointer to a C-style string containing a file name, the directory of which is to be trimmed off.
hResult ZSTR A ZSTR handle to a string variable that is to receive the file name with the extension trimmed off.

Return value

False if an error occurred, and true otherwise.



zeolite/functions/zfile_trimdir.txt · Last modified: 2017/08/31 07:33 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki