Get the full path to the directory containing the specified file.
| Declaration | zFile.h |
|---|---|
| Implementation | zFile.cpp |
bool zfile_GetDir(const char* lpPathName, ZSTR hResult);
| Name | Type | Comment |
|---|---|---|
| lpPathName | const char* | A handle to a C-style string containing the file name, the directory of which is to be determined. |
| hResult | ZSTR | A ZSTR handle to a string variable that is to receive the directory string. |
False if no directory was found in the given path string or if an error occurred, and true otherwise (with hResult containing the directory path, without the trailing slash).
None.