L3DT documentation
Large 3D terrain generator

file_GetFilenameNoDir

Description

Get the filename of a file, without the directory path.

Function prototype

bool CExtAPI::file_GetFilenameNoDir(ZSTR hStr, const char* lpFileName);

Arguments

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

Return value

False if an error occurred, and true otherwise (with hStr containing the directory-less filename).

Comments

None.

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