StormLib API Reference
bool WINAPI SFileGetFileName( HANDLE hFile, // File handle char * szFileName // Pointer to buffer that receives file name );
Function SFileGetFileName retrieves the name of an open file.
When the function succeeds, it returns true and buffer pointed by szFileName contains name of the file. On an error, the function returns false and GetLastError returns an error code.
This function doesn't support local files open by SFileOpenFileEx. If the file has been open with a pseudo file name, the function returns this name. If the file name is not known and the extension can be determined by file content, the returned pseudo file name also contains the proper extension. The pseudo name can be passed to SFileOpenFileEx.
|Available in Storm.dll||No|
|Ordinal number in Storm.dll 1.00||N/A|
|Ordinal number in Storm.dll 1.09||N/A|
Copyright (c) Ladislav Zezula 2003 - 2010