L3DT documentation
Large 3D terrain generator

zfile_GetDir

Description

Get the full path to the directory containing the specified file.

Files

Declaration zFile.h
Implementation zFile.cpp

Function prototype

bool zfile_GetDir(const char* lpPathName, ZSTR hResult);

Arguments

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.

Return value

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).

Comments

None.

 
zeolite/functions/zfile_getdir.txt · Last modified: 2017/08/31 07:04 (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