Get the full path to the directory containing the specified file.
bool CExtAPI::file_GetDir(ZVAR hStr, const char* lpFileName);
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. |
False if no directory was found or if an error occurred, and true otherwise (with hStr containing the directory path, without the trailing slash).
None.