Trim the directory path from a given file name.
Declaration | zFile.h |
---|---|
Implementation | zFile.cpp |
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. |
False if an error occurred, and true otherwise.
None.