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