Get the filename of a file, without the directory path.
bool CExtAPI::file_GetFilenameNoDir(ZSTR hStr, const char* lpFileName);
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. |
False if an error occurred, and true otherwise (with hStr containing the directory-less filename).
None.