L3DT documentation
Large 3D terrain generator

zfilesel_GetPathA

Description

Retrieve the selected file name from a file selector variable (VarID_filesel).

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zfilesel_GetPathA(ZVAR hFileSel, ZSTR hReturnStr);

Arguments

Name Type Comment
hFileSel ZVAR A ZVAR handle to a VarID_filesel variable, the selected file name of which is to be retrieved.
hReturnStr ZSTR A ZSTR handle to a string variable that is to receive the file name of the file selector variable.

Return value

False if an error occurred, and true otherwise.

Comments

Relative path

If a non-null value of the lpDefaultDir argument was given to the zfilesel_Init function, the path returned by zfile_GetPathA will be a relative path to the default directory, if a relative path can be made (i.e. on same disk volume, etc.) Callers should check whether the returned path is relative or absolute using the zfile_IsAbsolutePath function.

 
zeolite/functions/zfilesel_getpatha.txt · Last modified: 2017/08/31 06:13 (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