StormLib API Reference
SFileHasFile
bool WINAPI SFileHasFile( HANDLE hMpq, // Handle to an open MPQ const char * szFileName // Name of a file to check );
Function SFileHasFile performs a quick check if a file exists within the MPQ archive. The function does not perform file open, not even internally. It merely checks hash table if the file is present.
Unlike SFileOpenFileEx, this function doesn't support checking file presence by index. If you want to know the number of entries in the block table, use SFileGetFileInfo.
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