L3DT documentation
Large 3D terrain generator

file_GetDir

Description

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

Function prototype

bool CExtAPI::file_GetDir(ZVAR hStr, const char* lpFileName);

Arguments

Name Type Comment
hStr ZVAR A ZVAR handle to a string variable to receive the directory string.
lpFileName const char* A handle to a C-style string containing the file name, the directory of which is to be determined.

Return value

False if no directory was found or if an error occurred, and true otherwise (with hStr containing the directory path, without the trailing slash).

Comments

None.

 
zeolite/functions/file_getdir.txt · Last modified: 2017/08/31 05:47 (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